- add ether-wake to the hardcoded(argh!) list of APPLET_ODDNAME
This commit is contained in:
parent
04e458d435
commit
d129d7c3cd
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
|
# vi: set sw=4 ts=4:
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
@ -49,11 +50,13 @@ sub pod_for_usage {
|
|||||||
my $usage = shift;
|
my $usage = shift;
|
||||||
|
|
||||||
# Sigh. Fixup the known odd-name applets.
|
# Sigh. Fixup the known odd-name applets.
|
||||||
|
# Perhaps we can use some of APPLET_ODDNAME from include/applets.h ?
|
||||||
$name =~ s/dpkg_deb/dpkg-deb/g;
|
$name =~ s/dpkg_deb/dpkg-deb/g;
|
||||||
$name =~ s/fsck_minix/fsck.minix/g;
|
$name =~ s/fsck_minix/fsck.minix/g;
|
||||||
$name =~ s/mkfs_minix/mkfs.minix/g;
|
$name =~ s/mkfs_minix/mkfs.minix/g;
|
||||||
$name =~ s/run_parts/run-parts/g;
|
$name =~ s/run_parts/run-parts/g;
|
||||||
$name =~ s/start_stop_daemon/start-stop-daemon/g;
|
$name =~ s/start_stop_daemon/start-stop-daemon/g;
|
||||||
|
$name =~ s/ether_wake/ether-wake/g;
|
||||||
|
|
||||||
# make options bold
|
# make options bold
|
||||||
my $trivial = $usage->{trivial};
|
my $trivial = $usage->{trivial};
|
||||||
|
Loading…
Reference in New Issue
Block a user