threads / discuss / 17012

git-completion.bash missing --help

Subject: git-completion.bash missing --help

## tl;dr

2 messages between Jan 6, 2009 and Jan 6, 2009.

replies: 1people: 2as markdown or json

jidanni@jidanni.org· Jan 6, 2009, 03:29 UTC · lore

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.

Shawn O. Pearce· Jan 6, 2009, 04:37 UTC · re: jidanni@jidanni.org · lore

Re: git-completion.bash missing --help

jidanni@jidanni.org wrote:
Show 6 quoted lines
> 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.

← back to recent threads