summaryrefslogtreecommitdiff
path: root/builtin/log.c
diff options
context:
space:
mode:
authorAlex Henrie <alexhenrie24@gmail.com>2015-04-02 21:26:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-05-03 23:55:26 (GMT)
commitce41720cad79d858f09ebfc88cf84a4b152645c7 (patch)
treec178c05d6eb8f2dd5e6dbc7713896242c3cb92dc /builtin/log.c
parentbb831db6774aaa733199360dc7af6f3ce375fc20 (diff)
downloadgit-ce41720cad79d858f09ebfc88cf84a4b152645c7.zip
git-ce41720cad79d858f09ebfc88cf84a4b152645c7.tar.gz
git-ce41720cad79d858f09ebfc88cf84a4b152645c7.tar.bz2
blame, log: format usage strings similarly to those in documentation
Earlier, 9c9b4f2f (standardize usage info string format, 2015-01-13) tried to make usage-string in line with the documentation by - Placing angle brackets around fill-in-the-blank parameters - Putting dashes in multiword parameter names - Adding spaces to [-f|--foobar] to make [-f | --foobar] - Replacing <foobar>* with [<foobar>...] but it missed a few places. Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/log.c')
-rw-r--r--builtin/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/log.c b/builtin/log.c
index dd8f3fc..4c4e6be 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -38,7 +38,7 @@ static const char *fmt_patch_subject_prefix = "PATCH";
static const char *fmt_pretty;
static const char * const builtin_log_usage[] = {
- N_("git log [<options>] [<revision range>] [[--] <path>...]"),
+ N_("git log [<options>] [<revision-range>] [[--] <path>...]"),
N_("git show [<options>] <object>..."),
NULL
};