Merge branch 'ah/usage-strings'
authorJunio C Hamano <gitster@pobox.com>
Mon, 1 Jun 2015 19:45:09 +0000 (12:45 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Jun 2015 19:45:10 +0000 (12:45 -0700)
A few usage string updates.

* ah/usage-strings:
blame, log: format usage strings similarly to those in documentation

builtin/blame.c
builtin/log.c
index 8d70623cb8714a87650f2425daf4ee7aaf6307a8..662339fe63eafe8b554d5189480f37557df4c5cb 100644 (file)
@@ -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,
index dd8f3fcfc451780b244f6e6fd9e77298f484ad1a..4c4e6be28c85756d73eaefa3c8be6264c795fdcc 100644 (file)
@@ -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
 };