Hi, help2man got me again.
I wasted 20 minutes debugging help2man because it outputs a completely unhelpful message: help2man: can't get `--help' info from inspect when the program writes to stderr. David Bremner suggested to at least documenting this design choice. Please consider the enclosed patch. Thanks, -Steve --- /usr/bin/help2man 2009-04-17 06:07:22.000000000 -0500 +++ /tmp/help2man 2009-07-10 16:35:52.000000000 -0500 @@ -234,8 +234,8 @@ # Grab help and version info from executable. my ($help_text) = map { join '', map { s/ +$//; expand $_ } `$ARGV[0] $_ 2>/dev/null` - or kark N_("%s: can't get `%s' info from %s"), $this_program, - $_, $ARGV[0] + or kark N_("%s: can't get `%s' info from %s; %s only supports reading from stdout, perhaps %s writes to stderr?"), $this_program, + $_, $ARGV[0], $this_program, $ARGV[0] } $help_option; my $version_text;
signature.asc
Description: Digital signature