From ce41720cad79d858f09ebfc88cf84a4b152645c7 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Thu, 2 Apr 2015 15:26:56 -0600 Subject: 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 * with [...] but it missed a few places. Signed-off-by: Alex Henrie Signed-off-by: Junio C Hamano --- builtin/blame.c | 2 +- builtin/log.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'builtin') diff --git a/builtin/blame.c b/builtin/blame.c index 44b0134ea2..5710dcbec6 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 [] [] [] [--] file"); +static char blame_usage[] = N_("git blame [] [] [] [--] "); 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 [] [] [[--] ...]"), + N_("git log [] [] [[--] ...]"), N_("git show [] ..."), NULL }; -- cgit v1.2.3