diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-31 12:08:00 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-31 12:08:00 -0700 |
commit | c37b1bdf2d871a11672772f83080f3ea9bda1b17 (patch) | |
tree | 0aea97a43f6673f645e12fd544aa47e79b38eed1 /notmuch.c | |
parent | acdc9988a2a502accad860a116b094b0a1f62008 (diff) |
notmuch: Reference help, don't print it for unknown commands.
The shorter output is much nicer for something that might end up
in an emacs mini-buffer, for example.
Diffstat (limited to 'notmuch.c')
-rw-r--r-- | notmuch.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1450,8 +1450,8 @@ main (int argc, char *argv[]) /* Don't complain about "help" being an unknown command when we're about to provide exactly what's wanted anyway. */ - fprintf (stderr, "Error: Unknown command '%s'\n\n", argv[1]); - usage (); + fprintf (stderr, "Error: Unknown command '%s' (see \"notmuch help\")\n", + argv[1]); return 1; } |