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

Output of -h and --version goes to stderr instead of stdout #47

Closed
samueloph opened this issue Jul 23, 2020 · 3 comments
Closed

Output of -h and --version goes to stderr instead of stdout #47

samueloph opened this issue Jul 23, 2020 · 3 comments

Comments

@samueloph
Copy link

Hello,

While working on the packaging of gpp for Debian I noticed that the outputs of -h, --help and --version goes to stderr instead of stdout, which can be a little bit confusing since it's not an error message.

This affected our testing infrastructure as it thinks that an invocation with -h had issues (it checks both for exit code and for stderr messages), this is something that we can easily workaround but I believe it would be nice if it could be addressed upstream.

Thanks,

@logological
Copy link
Owner

Thank you for spotting this. I've committed a fix for this problem, which will take effect in the next release of GPP.

@samueloph
Copy link
Author

Awesome, thank you @logological :)

@leandrocunha526
Copy link

leandrocunha526 commented Jul 30, 2020

Tests were performed using Salsa CI and the problem was corrected. Thank you! :) 👍

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

3 participants