diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 73abea31b428f3..3f1d6c0955e4c2 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -3916,6 +3916,16 @@ __git_main () --help " ;; + -*) + __gitcomp " + -C + -P + -c + -h + -p + -v + " + ;; *) if test -n "${GIT_TESTING_PORCELAIN_COMMAND_LIST-}" then