summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-06-01 12:45:09 -0700
committerJunio C Hamano <gitster@pobox.com>2015-06-01 12:45:10 -0700
commit6e0ac8e45f688abf8deb10a1716461b61400f669 (patch)
tree1354acc7de13d0f9cc47daaa64bb2334562d85d5
parent777e75b60568b613e452ebbb30a1fb27c4fd7d8a (diff)
parentce41720cad79d858f09ebfc88cf84a4b152645c7 (diff)
downloadgit-6e0ac8e45f688abf8deb10a1716461b61400f669.tar.gz
Merge branch 'ah/usage-strings'
A few usage string updates. * ah/usage-strings: blame, log: format usage strings similarly to those in documentation
-rw-r--r--builtin/blame.c2
-rw-r--r--builtin/log.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/builtin/blame.c b/builtin/blame.c
index 8d70623cb8..662339fe63 100644
--- a/builtin/blame.c
+++ b/builtin/blame.c
@@ -27,7 +27,7 @@
#include "line-range.h"
#include "line-log.h"
-static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] file");
+static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] <file>");
static const char *blame_opt_usage[] = {
blame_usage,
diff --git a/builtin/log.c b/builtin/log.c
index dd8f3fcfc4..4c4e6be28c 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
};