Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2013-04-22 09:30:31 +0400
committerJunio C Hamano <gitster@pobox.com>2013-04-22 19:00:54 +0400
commit0942d519ada52c9cf831ecd3c562539be939d19e (patch)
treed4d5d48f4f4c8f8b4ae5204aeba4a8750fb31cb6 /builtin/shortlog.c
parente495afcd74ae703db9b396cd46ffc0da368e3905 (diff)
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 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
};