git-completion.bash missing --help

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

git-completion.bash missing --help

From: <hidden>
Date: 2016-06-15 22:45:52

git-completion.bash seems to be missing --help. Hitting TAB just shows e.g.,
$ git add --<TAB>
--dry-run --ignore-errors --interactive --patch --refresh --update
Only for plain
$ git --<TAB>
is one able to complete --help.

Re: git-completion.bash missing --help

From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:45:52

jidanni@jidanni.org wrote:
git-completion.bash seems to be missing --help. Hitting TAB just shows e.g.,
$ git add --<TAB>
--dry-run --ignore-errors --interactive --patch --refresh --update
Only for plain
$ git --<TAB>
is one able to complete --help.
Adding completion for --help to every command we have long option
completion on is just annoying.

Doesn't it complete "git he<TAB> ad<TAB>"?

-- 
Shawn.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help