summaryrefslogtreecommitdiff
path: root/builtin/rev-parse.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-02-11 13:44:19 -0800
committerJunio C Hamano <gitster@pobox.com>2015-02-11 13:44:20 -0800
commitbb831db6774aaa733199360dc7af6f3ce375fc20 (patch)
tree4d4befdb8dfc6b9ddafec4550a6e44aaacd89dd9 /builtin/rev-parse.c
parentafa3ccbf44cb47cf988c6f40ce3ddb10829a9e7b (diff)
parent9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b (diff)
downloadgit-bb831db6774aaa733199360dc7af6f3ce375fc20.tar.gz
Merge branch 'ah/usage-strings'
* ah/usage-strings: standardize usage info string format
Diffstat (limited to 'builtin/rev-parse.c')
-rw-r--r--builtin/rev-parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/rev-parse.c b/builtin/rev-parse.c
index 95328b80d9..3626c61da6 100644
--- a/builtin/rev-parse.c
+++ b/builtin/rev-parse.c
@@ -358,7 +358,7 @@ static int cmd_parseopt(int argc, const char **argv, const char *prefix)
{
static int keep_dashdash = 0, stop_at_non_option = 0;
static char const * const parseopt_usage[] = {
- N_("git rev-parse --parseopt [options] -- [<args>...]"),
+ N_("git rev-parse --parseopt [<options>] -- [<args>...]"),
NULL
};
static struct option parseopt_opts[] = {
@@ -496,9 +496,9 @@ static void die_no_single_rev(int quiet)
}
static const char builtin_rev_parse_usage[] =
-N_("git rev-parse --parseopt [options] -- [<args>...]\n"
+N_("git rev-parse --parseopt [<options>] -- [<args>...]\n"
" or: git rev-parse --sq-quote [<arg>...]\n"
- " or: git rev-parse [options] [<arg>...]\n"
+ " or: git rev-parse [<options>] [<arg>...]\n"
"\n"
"Run \"git rev-parse --parseopt -h\" for more information on the first usage.");