[PATCH 1/7] help doc: add missing "]" to "[-a|--all]"
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Dec 28, 2021, 15:35 UTC
- Message-ID
- <patch-1.7-652dae26bf4-20211228T153456Z-avarab@gmail.com>
- In-Reply-To
- <cover-0.7-00000000000-20211228T153456Z-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.34.1.1257.g2af47340c7b