builtin/shortlog.c: make usage string consistent with log
authorRamkumar Ramachandra <artagnon@gmail.com>
Mon, 22 Apr 2013 05:30:31 +0000 (11:00 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Apr 2013 15:00:54 +0000 (08:00 -0700)
"--" is used to separate pathspecs from the rev specs, and not rev
specs from the options, as the shortlog_usage string currently
indicates. In correcting this usage string, make it consistent with
the log_usage string.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/shortlog.c
index 240bff3efa80b3af087fe1e6c16a75108ffee4de..1fd6f8ac5977ee670bf8ba230cec8553393baafd 100644 (file)
@@ -10,9 +10,7 @@
 #include "parse-options.h"
 
 static char const * const shortlog_usage[] = {
-       N_("git shortlog [-n] [-s] [-e] [-w] [rev-opts] [--] [<commit-id>... ]"),
-       "",
-       N_("[rev-opts] are documented in git-rev-list(1)"),
+       N_("git shortlog [<options>] [<revision range>] [[--] [<path>...]]"),
        NULL
 };