summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-04-13 14:12:29 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-04-13 14:12:29 -0700
commit8b7475aefc0a88da65c6d495fc518b2b8a72ff47 (patch)
tree280955911aecf7acbc5803e1eae5bc4c4bec50ad
parentMerge branch 'ak/use-hashmap-iter-first-in-submodule-config' (diff)
parentcompletion: add 'revisions' and 'everyday' to 'git help' (diff)
downloadtgif-8b7475aefc0a88da65c6d495fc518b2b8a72ff47.tar.xz
Merge branch 'rt/completion-help'
Shell completion (in contrib/) updates. * rt/completion-help: completion: add 'revisions' and 'everyday' to 'git help' completion: add option '--guides' to 'git help'
-rw-r--r--contrib/completion/git-completion.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index e3918c87e3..ffe60048c1 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1339,15 +1339,15 @@ _git_help ()
{
case "$cur" in
--*)
- __gitcomp "--all --info --man --web"
+ __gitcomp "--all --guides --info --man --web"
return
;;
esac
__git_compute_all_commands
__gitcomp "$__git_all_commands $(__git_aliases)
attributes cli core-tutorial cvs-migration
- diffcore gitk glossary hooks ignore modules
- namespaces repository-layout tutorial tutorial-2
+ diffcore everyday gitk glossary hooks ignore modules
+ namespaces repository-layout revisions tutorial tutorial-2
workflows
"
}