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

Re: Support "git cmd --help" syntax

From
Linus Torvalds <torvalds@osdl.org>
Date
Apr 15, 2006, 21:07 UTC
Message-ID
<Pine.LNX.4.64.0604151402470.3701@g5.osdl.org>
In-Reply-To
<7vsloeef0k.fsf@assigned-by-dhcp.cox.net>
On Sat, 15 Apr 2006, Junio C Hamano wrote:
> 
> Tried "git commit --help" with and without the patch?
I get a usage message without the patch.
With the patch, I get the man-page.
IOW, I don't see your point.

I'd have expected that to be an improvement. You can always get the usage message with "git commit --huh?", so it's not like you've lost anything.

Now, if you have _not_ done
	make prefix=/usr/share install-doc

or similar, then yes, you get something less than helpful (along the lines of "No manual entry for git-commit"), and I agree that we could/should improve on that somehow.

			Linus
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 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.