Browse Source

Merge branch 'ah/usage-strings' into maint

A few usage string updates.

* ah/usage-strings:
  blame, log: format usage strings similarly to those in documentation
maint
Junio C Hamano 10 years ago
parent
commit
6588f82ff6
  1. 2
      builtin/blame.c
  2. 2
      builtin/log.c

2
builtin/blame.c

@ -28,7 +28,7 @@ @@ -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,

2
builtin/log.c

@ -38,7 +38,7 @@ static const char *fmt_patch_subject_prefix = "PATCH"; @@ -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…
Cancel
Save