On error, do not list all commands, but point to --help option
commitb5d21a4b68aa69c7a2b4d2239aaa9ee5a51058a7
authorJari Aalto <jari.aalto@cante.net>
Sat, 20 Oct 2007 22:41:41 +0000 (21 01:41 +0300)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 22 Oct 2007 05:57:50 +0000 (22 01:57 -0400)
tree83ca62bdb062ecb1809ac6dcd7b0d99dfe29984a
parentdd8175f83c725619d72d6bbaacf8eaafc158edea
On error, do not list all commands, but point to --help option

- Remove out call to list_common_cmds_help()
- Send error message to stderr, not stdout.

Signed-off-by: Jari Aalto <jari.aalto@cante.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
help.c