-
Notifications
You must be signed in to change notification settings - Fork 64
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
Consistently redirect usage examples to stdout #1105
Conversation
Sending error and usage output to That's probably why the default channel for I don't think that |
@camdencheek pointed out that even if |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed that errors are still sent to stderr
. Help/usage output is now sent to stdout
.
Thanks for the review @peterguy! Can you help merge this changeset? I don't have write access. |
@tinvaan done! |
* direct help texts to stdout * set usage output for subcommands
This reverts commit 95b5854.
Addresses #689
Test plan
Tested manually. Re-directed
src
command and sub-commands outputs for default usage (no args) and withhelp
/--help
args and checked all output was captured.