From 716b29db91369334e9e14dbbf54e75cd061aa6a4 Mon Sep 17 00:00:00 2001 From: Ralf Thielow Date: Thu, 24 Mar 2016 19:27:13 +0100 Subject: [PATCH 1/2] completion: add option '--guides' to 'git help' Signed-off-by: Ralf Thielow Signed-off-by: Junio C Hamano --- contrib/completion/git-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 00d729996f..e4fdd7f819 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1338,7 +1338,7 @@ _git_help () { case "$cur" in --*) - __gitcomp "--all --info --man --web" + __gitcomp "--all --guides --info --man --web" return ;; esac From 4d10b7e1bcc035ee5358b4a34e4bcf67673a89fc Mon Sep 17 00:00:00 2001 From: Ralf Thielow Date: Thu, 24 Mar 2016 19:27:14 +0100 Subject: [PATCH 2/2] completion: add 'revisions' and 'everyday' to 'git help' Signed-off-by: Ralf Thielow Signed-off-by: Junio C Hamano --- contrib/completion/git-completion.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index e4fdd7f819..71e1fc8b2c 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1345,8 +1345,8 @@ _git_help () __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 " }