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

Re: [TopGit PATCH] Print help message when command is not proper

From
Petr Baudis <pasky@ucw.cz>
Date
Nov 20, 2008, 13:18 UTC
Message-ID
<20081120131807.GE10491@machine.or.cz>
In-Reply-To
<1227182928-24916-1-git-send-email-madduck@debian.org>
On Thu, Nov 20, 2008 at 01:08:48PM +0100, martin f. krafft wrote:
> When invoked with an unknown subcommand, or when --help is sought for
> a command that does not exist, TopGit prints the help message.
> 
> Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@suse.cz>

Note that I think these changes are reasonable only as long as do_help is just a short two-line usage help; in the event we also implement a longer help, it certainly shouldn't be printed in these cases.

Previous: martin f. krafft
Message 2 of 2 in “Print help message when command is not proper”
  1. Print help message when command is not propermartin f. krafft, Nov 20, 2008
  2. Petr BaudisNov 20, 2008

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.