Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit status different between pod2man and pod2text #19

Closed
Julien-Elie opened this issue Dec 26, 2022 · 1 comment
Closed

Exit status different between pod2man and pod2text #19

Julien-Elie opened this issue Dec 26, 2022 · 1 comment

Comments

@Julien-Elie
Copy link

I wish to test the availability of --guesswork by trying the argument and checking the exit status but unfortunately pod2text works differently than pod2man:

% pod2man --help > /dev/null
% echo $?
0

% pod2text --help > /dev/null
% echo $?
1

So if I add --guesswork=none, I cannot distinguish the availability of it with pod2text.

Seems like I should better use for the test:

echo "=head1 test" | pod2text --guesswork=none > /dev/null

And that's what I'll do. However, homogenizing exit status (either to 0 or 1) would be great.

@rra rra closed this as completed in 8909fba Dec 26, 2022
@rra
Copy link
Owner

rra commented Dec 26, 2022

Thanks! No idea why it was like that, and it definitely shouldn't have been.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants