diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2013-04-22 11:00:31 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-22 08:00:54 -0700 |
commit | 0942d519ada52c9cf831ecd3c562539be939d19e (patch) | |
tree | d4d5d48f4f4c8f8b4ae5204aeba4a8750fb31cb6 /builtin/shortlog.c | |
parent | e495afcd74ae703db9b396cd46ffc0da368e3905 (diff) | |
download | git-0942d519ada52c9cf831ecd3c562539be939d19e.tar.gz |
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>
Diffstat (limited to 'builtin/shortlog.c')
-rw-r--r-- | builtin/shortlog.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/builtin/shortlog.c b/builtin/shortlog.c index 240bff3efa..1fd6f8ac59 100644 --- a/builtin/shortlog.c +++ b/builtin/shortlog.c @@ -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 }; |