[PATCH v2 1/9] help doc: add missing "]" to "[-a|--all]"
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Feb 21, 2022, 19:38 UTC
- Message-ID
- <patch-v2-1.9-c4b66c36c17-20220221T193708Z-avarab@gmail.com>
- In-Reply-To
- <cover-v2-0.9-00000000000-20220221T193708Z-avarab@gmail.com>
Add a missing "]" to documentation added in 63eae83f8f3 (help: add "-a --verbose" to list all commands with synopsis, 2018-05-20). This made it seem as though "--[no-]verbose" can only be provided with "--all", not "-a". The corresponding usage information in the C code ("builtin_help_usage") does not have the same problem.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> --- Documentation/git-help.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-help.txt b/Documentation/git-help.txt index 44ea63cc6d3..cf1d53e9499 100644 --- a/Documentation/git-help.txt +++ b/Documentation/git-help.txt @@ -8,7 +8,7 @@ git-help - Display help information about Git SYNOPSIS -------- [verse] -'git help' [-a|--all [--[no-]verbose]] +'git help' [-a|--all] [--[no-]verbose] [[-i|--info] [-m|--man] [-w|--web]] [<command>|<guide>] 'git help' [-g|--guides] 'git help' [-c|--config]
-- 2.35.1.1132.ga1fe46f8690