diff options
author | Alex Henrie <alexhenrie24@gmail.com> | 2015-01-13 08:44:47 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-01-14 18:32:04 +0100 |
commit | 9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b (patch) | |
tree | 635c9244cd702da3188103e55bd969c68c8b5f63 /builtin/check-ref-format.c | |
parent | Git 2.3.0-rc0 (diff) | |
download | git-9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b.tar.xz git-9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b.zip |
standardize usage info string format
This patch puts the usage info strings that were not already in docopt-
like format into docopt-like format, which will be a litle easier for
end users and a lot easier for translators. Changes include:
- 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>...]
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Reviewed-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/check-ref-format.c')
-rw-r--r-- | builtin/check-ref-format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/check-ref-format.c b/builtin/check-ref-format.c index 28a7320271..fd915d5984 100644 --- a/builtin/check-ref-format.c +++ b/builtin/check-ref-format.c @@ -8,7 +8,7 @@ #include "strbuf.h" static const char builtin_check_ref_format_usage[] = -"git check-ref-format [--normalize] [options] <refname>\n" +"git check-ref-format [--normalize] [<options>] <refname>\n" " or: git check-ref-format --branch <branchname-shorthand>"; /* |