author | Giuseppe Scrivano <gscrivano@gnu.org> | |
Mon, 17 May 2010 15:34:41 +0000 (17:34 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 1 Jun 2010 01:06:41 +0000 (18:06 -0700) | ||
commit | 9c7304e3e39ed397b3cc6566573333e2698a52b4 | |
tree | fb0b9f66cd82761e67ae77074c973acb4bf6fa1a | tree | snapshot |
parent | 81fa024cd8e336ba257f13fe7724b95baacfa3ad | commit | diff |
print the usage string on stdout instead of stderr
When -h is used, print usage messages on stdout. If a command is invoked with
wrong arguments then print the usage messages on stderr.
Signed-off-by: Giuseppe Scrivano <gscrivano@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When -h is used, print usage messages on stdout. If a command is invoked with
wrong arguments then print the usage messages on stderr.
Signed-off-by: Giuseppe Scrivano <gscrivano@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.c | diff | blob | history | |
t/t0040-parse-options.sh | diff | blob | history | |
t/t1502-rev-parse-parseopt.sh | diff | blob | history |