Skip to content

Commit

Permalink
builtin/shortlog.c: make usage string consistent with log
Browse files Browse the repository at this point in the history
"--" 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]>
  • Loading branch information
artagnon authored and gitster committed Apr 22, 2013
1 parent e495afc commit 0942d51
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions builtin/shortlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down

0 comments on commit 0942d51

Please sign in to comment.