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.