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

Re: Support "git cmd --help" syntax

From
Junio C Hamano <junkio@cox.net>
Date
Apr 15, 2006, 20:54 UTC
Message-ID
<7vsloeef0k.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0604151054380.3701@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 7 quoted lines
> However, as anybody who has ever used CVS or some similar devil-spawn 
> program, it's confusing as h*ll when options before the sub-command act 
> differently from options after the sub-command, so this quick hack just 
> makes it acceptable to do "git cmd --help" instead, and get the exact same 
> result.
>
> It may be hacky, but it's simple and does the trick.
Tried "git commit --help" with and without the patch?

I am not sure if we want to "help" migrants from CVS or some similar program by shooting ourselves in the foot.

Previous: Linus TorvaldsNext: Linus Torvalds
Message 2 of 5 in “Support "git cmd --help" syntax”
  1. Linus TorvaldsApr 15, 2006
  2. Junio C HamanoApr 15, 2006
  3. Linus TorvaldsApr 15, 2006
  4. Junio C HamanoApr 16, 2006
  5. Jakub NarebskiApr 19, 2006

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.