Documentation: clarify that `-h` alone stands for `help`
commit1ff466c018692d0ac7c5f30a449632659e87a73b
authorJunio C Hamano <gitster@pobox.com>
Thu, 27 Feb 2020 16:10:20 +0000 (27 08:10 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Feb 2020 22:14:01 +0000 (27 14:14 -0800)
tree40921b850bde615a378d346174c504e2ab2f29a8
parent4cd1cf31efed9b16db5035c377bfa222f5272458
Documentation: clarify that `-h` alone stands for `help`

We seem to be getting new users who get confused every 20 months or
so with this "-h consistently wants to give help, but the commands
to which `-h` may feel like a good short-form option want it to mean
something else." compromise.

Let's make sure that the readers know that `git cmd -h` (with no
other arguments) is a way to get usage text, even for commands like
ls-remote and grep.

Also extend the description that is already in gitcli.txt, as it is
clear that users still get confused with the current text.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-ls-remote.txt
Documentation/gitcli.txt