Alexey Muranov added the comment: Thanks for the explanation, this makes sense. I did not notice that argparse outputs to stderr if command line arguments are wrong, i was probably wrong when said it prints error messages to stdout. I did not notice indeed that there were no `-h` option in git.
However, my grep version 2.5.1-FreeBSD outputs help to stderr even with `--help` option. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26645> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com