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

Re: Convention for help in git commands?

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Oct 25, 2005, 20:24 UTC
Message-ID
<46a038f90510251324s50911b88pb5eabb304644bcad@mail.gmail.com>
In-Reply-To
<7vfyqpe87x.fsf@assigned-by-dhcp.cox.net>
On 10/26/05, Junio C Hamano <junkio@cox.net> wrote:
Show 6 quoted lines
> > * For commands which need at least one argument, the usage
> > is also printed, if the command is run without argument
>
> This is slightly debatable.  I'd rather see it error out for one
> thing, and we might want to do a sane default given no arguments
> later.

This could lead to subtle bugs when git is used by porcelains. If there are going to be changes in default behaviours, let's have them soon-ish ;-)

cheers,
martin
Previous: Junio C HamanoNext: Josef Weidendorfer
Message 3 of 5 in “Convention for help in git commands?”
  1. Josef WeidendorferOct 25, 2005
  2. Junio C HamanoOct 25, 2005
  3. Martin LanghoffOct 25, 2005
  4. Josef WeidendorferOct 25, 2005
  5. Martin LanghoffOct 25, 2005

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.