diff --git a/Changes b/Changes index 030d635..6922722 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,10 @@ Revision history for podlators +5.02 - Not Released + + - pod2text --help now exits with status 0, not 1, matching normal UNIX + command behavior and the behavior of pod2man. (GitHub #19) + 5.01 - 2022-12-25 - Guesswork (formatting rules based on heuristics intended for Perl diff --git a/scripts/pod2text.PL b/scripts/pod2text.PL index 50088bf..876d84c 100755 --- a/scripts/pod2text.PL +++ b/scripts/pod2text.PL @@ -86,7 +86,7 @@ GetOptions (\%options, 'alt|a', 'code', 'color|c', 'encoding|e=s', 'errors=s', 'margin|left-margin|m=i', 'nourls', 'overstrike|o', 'quotes|q=s', 'sentence|s', 'stderr', 'termcap|t', 'utf8|u', 'width|w=i') or exit 1; -pod2usage (1) if $options{help}; +pod2usage (0) if $options{help}; # Figure out what formatter we're going to use. -c overrides -t. my $formatter = 'Pod::Text';