git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-completion.bash missing --help

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jan 6, 2009, 04:37 UTC
Message-ID
<20090106043708.GA29462@spearce.org>
In-Reply-To
<877i59nmd1.fsf@jidanni.org>
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.
Previous: jidanni@jidanni.org
Message 2 of 2 in “git-completion.bash missing --help”
  1. jidanni@jidanni.orgJan 6, 2009
  2. Shawn O. PearceJan 6, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.