Default usage output to stdout
Before adoption: this commit came in with the history the project adopted, so no landing records it.
If the command has not set an output explicitly everything will go to stderr. This makes a lot of sense, but is a huge PITA for people who want to be able to grep the help output. It is very common for users to want to do command --help | grep flag This patch fixes that by default help output (but not error output like an invalid command) to stdout instead of defaulting to stderr.
authored by Eric Paris · committed by bep · parent 6264dc6 · Browse files · 1 file+11 added−3 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+11 added−3 removed
- other:+11 added−3 removed