- add ether-wake to the hardcoded(argh!) list of APPLET_ODDNAME
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 1 Sep 2008 15:23:04 +0000 (15:23 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 1 Sep 2008 15:23:04 +0000 (15:23 -0000)
docs/autodocifier.pl

index 78950dc..576e312 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/perl -w
+# vi: set sw=4 ts=4:
 
 use strict;
 use Getopt::Long;
@@ -49,11 +50,13 @@ sub pod_for_usage {
        my $usage = shift;
 
        # 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/fsck_minix/fsck.minix/g;
        $name =~ s/mkfs_minix/mkfs.minix/g;
        $name =~ s/run_parts/run-parts/g;
        $name =~ s/start_stop_daemon/start-stop-daemon/g;
+       $name =~ s/ether_wake/ether-wake/g;
 
        # make options bold
        my $trivial = $usage->{trivial};