builtin/shortlog.c: make usage string consistent with log
"--" 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>
Ramkumar Ramachandra committed
Apr 22, 2013 at 11:00 UTC
0942d519ada52c9cf831ecd3c562539be939d19e
1 file changed
+1
-3
builtin/shortlog.c
+1
-3
@@ -10,9 +10,7 @@
10
#include "parse-options.h"
11
12
static char const * const shortlog_usage[] = {
13
- N_("git shortlog [-n] [-s] [-e] [-w] [rev-opts] [--] [<commit-id>... ]"),
14
- "",
15
- N_("[rev-opts] are documented in git-rev-list(1)"),
13
+ N_("git shortlog [<options>] [<revision range>] [[--] [<path>...]]"),
14
NULL
15
};
16