path: root/Documentation/git-help.txt
diff options
authorNguyễn Thái Ngọc Duy <>2018-05-20 18:40:01 (GMT)
committerJunio C Hamano <>2018-05-21 04:23:14 (GMT)
commit63eae83f8f301a1052cdde254b84f5da00e7b9b6 (patch)
treee7cdcb2b4e7f782e5fff9a87173e2ceda479497f /Documentation/git-help.txt
parent3c7777672bf9bc9ac2ddb422633b39af4faa1682 (diff)
help: add "-a --verbose" to list all commands with synopsis
This lists all recognized commands [1] by category. The group order follows closely git.txt. [1] We may actually show commands that are not built (e.g. if you set NO_PERL you don't have git-instaweb but it's still listed here). I ignore the problem because on Linux a git package could be split anyway. The "git-core" package may not contain git-instaweb even if it's built because it may end up in a separate package. We can't know anyway. Signed-off-by: Nguyễn Thái Ngọc Duy <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-help.txt')
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/git-help.txt b/Documentation/git-help.txt
index 40d328a..a40fc38 100644
--- a/Documentation/git-help.txt
+++ b/Documentation/git-help.txt
@@ -8,7 +8,7 @@ git-help - Display help information about Git
-'git help' [-a|--all] [-g|--guide]
+'git help' [-a|--all [--verbose]] [-g|--guide]
[-i|--info|-m|--man|-w|--web] [COMMAND|GUIDE]
@@ -42,6 +42,8 @@ OPTIONS
Prints all the available commands on the standard output. This
option overrides any given command or guide name.
+ When used with `--verbose` print description for all recognized
+ commands.