Skip to content

Commit 0942d51

Browse files
artagnongitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e495afc commit 0942d51

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

builtin/shortlog.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
#include "parse-options.h"
1111

1212
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>...]]"),
1614
NULL
1715
};
1816

0 commit comments

Comments
 (0)