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>
This commit is contained in:
parent
bb831db677
commit
ce41720cad
@ -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,
|
||||
|
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user