Skip to contentSkip to conversation

git-completion.bash missing --help

DISCUSSION [email protected] 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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.
#1 lore raw
Quoted 6 lines · [email protected] 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>"?

Signature · 1 line
Shawn.