config: add '--name-only' option to list only variable names
[gitweb.git] / contrib / completion / git-completion.bash
index bfc74e9d57a5293fce39362c68e7490888ec08e6..e9877e1fc82ce1275eb0e4ed68db4942f17fc23a 100644 (file)
@@ -1887,6 +1887,7 @@ _git_config ()
                        --get --get-all --get-regexp
                        --add --unset --unset-all
                        --remove-section --rename-section
+                       --name-only
                        "
                return
                ;;