Merge branch 'ah/usage-strings' into maint
authorJunio C Hamano <gitster@pobox.com>
Tue, 16 Jun 2015 21:33:50 +0000 (14:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Jun 2015 21:33:50 +0000 (14:33 -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 ff978253f1fb3d72ff3add9d2718aa3611697b4a..b3e948e757e97947211f598488339cd4f03c43eb 100644 (file)
@@ -28,7 +28,7 @@
 #include "line-log.h"
 #include "dir.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
 };