completion: add and use --list-cmds=nohelpers
[gitweb.git] / Documentation / git.txt
index 4767860e72f46d4e4df883f2fdbb4a46eb8e8eda..820ab77fcb6e5c5a5f1edde511ecdbbba14726fd 100644 (file)
@@ -163,6 +163,15 @@ foo.bar= ...`) sets `foo.bar` to the empty string which `git config
        Do not perform optional operations that require locks. This is
        equivalent to setting the `GIT_OPTIONAL_LOCKS` to `0`.
 
+--list-cmds=group[,group...]::
+       List commands by group. This is an internal/experimental
+       option and may change or be removed in the future. Supported
+       groups are: builtins, parseopt (builtin commands that use
+       parse-options), main (all commands in libexec directory),
+       others (all other commands in `$PATH` that have git- prefix),
+       list-<category> (see categories in command-list.txt),
+       nohelpers (exclude helper commands).
+
 GIT COMMANDS
 ------------