Consistently redirect usage examples to stdout#1105
Consistently redirect usage examples to stdout#1105peterguy merged 2 commits intosourcegraph:mainfrom
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 |
peterguy
left a comment
There was a problem hiding this comment.
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
srccommand and sub-commands outputs for default usage (no args) and withhelp/--helpargs and checked all output was captured.