Re: [PATCH 04/10] shell helpers usage: always send help to stderr

2016-05-02 Thread Junio C Hamano
It also is somewhat sad that you needed to refer to a random blog you found on the Internet whose punch line was essentially what I already said before you finally decide to listen to me X-<. I somehow expected that over the years you worked with me you learned I had a reasonable taste in

Re: [PATCH 04/10] shell helpers usage: always send help to stderr

2016-05-02 Thread Junio C Hamano
Stefan Beller writes: > git --help |grep pull > > instead of > > git --help 2>&1 |grep pull Not just that. It makes me sad that it is unpredictable which stream a project happens to have chosen to send its help text and I end up almost always doing

Re: [PATCH 04/10] shell helpers usage: always send help to stderr

2016-05-02 Thread Stefan Beller
On Mon, May 2, 2016 at 4:28 PM, Junio C Hamano wrote: > Stefan Beller writes: > >> `git submodule asdf` would trigger displaying the usage of the submodule >> command on stderr, however `git submodule -h` would display the usage on >> stdout. Unify

Re: [PATCH 04/10] shell helpers usage: always send help to stderr

2016-05-02 Thread Junio C Hamano
Stefan Beller writes: > `git submodule asdf` would trigger displaying the usage of the submodule > command on stderr, however `git submodule -h` would display the usage on > stdout. Unify displaying help for shell commands on stderr. The primary output from "git cmd --help"

[PATCH 04/10] shell helpers usage: always send help to stderr

2016-04-29 Thread Stefan Beller
`git submodule asdf` would trigger displaying the usage of the submodule command on stderr, however `git submodule -h` would display the usage on stdout. Unify displaying help for shell commands on stderr. Signed-off-by: Stefan Beller --- git-sh-setup.sh | 2 +- 1 file