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:

committed by
Junio C Hamano

parent
703f05ad58
commit
87182b17ed
@ -117,5 +117,4 @@ commit. And the default value is 40. If there are more than one
|
||||
take effect.
|
||||
|
||||
-h::
|
||||
--help::
|
||||
Show help message.
|
||||
|
Reference in New Issue
Block a user