help: correct the usage string in -h and documentation
commitb40845293b57aa73d319aa1cec4184f114d8ce65
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 10 Sep 2021 11:28:42 +0000 (10 13:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Sep 2021 22:58:00 +0000 (10 15:58 -0700)
treeea13b24284b93976937f9fa35fe0995a899a0181
parent8b7c11b8668b4e774f81a9f0b4c30144b818f1d1
help: correct the usage string in -h and documentation

Clarify the usage string in the documentation so we group e.g. -i and
--info, and add the missing short options to the "-h" output.

The alignment of the second line is off now, but will be fixed with
another series of mine[1]. In the meantime let's just assume that fix
will make it in eventually for the purposes of this patch, if it's
misaligned for a bit it doesn't matter much.

1. https://lore.kernel.org/git/cover-0.2-00000000000-20210901T110917Z-avarab@gmail.com

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-help.txt
builtin/help.c