summaryrefslogtreecommitdiff
path: root/builtin/shortlog.c
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2013-04-22 05:30:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-04-22 15:00:54 (GMT)
commit0942d519ada52c9cf831ecd3c562539be939d19e (patch)
treed4d5d48f4f4c8f8b4ae5204aeba4a8750fb31cb6 /builtin/shortlog.c
parente495afcd74ae703db9b396cd46ffc0da368e3905 (diff)
downloadgit-0942d519ada52c9cf831ecd3c562539be939d19e.zip
git-0942d519ada52c9cf831ecd3c562539be939d19e.tar.gz
git-0942d519ada52c9cf831ecd3c562539be939d19e.tar.bz2
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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/builtin/shortlog.c b/builtin/shortlog.c
index 240bff3..1fd6f8a 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
};