use -h for synopsis and --help for manpage consistently

A few scripted Porcelain implementations pretend as if the routine to show
their own help messages are triggered upon "git cmd --help", but a command
line parser of "git" will hijack such a request and shows the manpage for
the cmd subcommand.

Leaving the code to handle such input is simply misleading.

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Clemens Buchacher
2011-10-03 20:21:36 +02:00
committed by Junio C Hamano
parent 703f05ad58
commit 87182b17ed
6 changed files with 6 additions and 7 deletions

View File

@ -117,5 +117,4 @@ commit. And the default value is 40. If there are more than one
take effect.
-h::
--help::
Show help message.