diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-10-13 15:39:21 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-10-13 16:32:57 (GMT) |
commit | 463ea0cfae02b5c74d636d1f62de9c2ba0d03d2d (patch) | |
tree | c89c6ddf5b15169617a61e00628b2c8adfb74a40 /builtin/clean.c | |
parent | df8738116f7a00f74c8ac75d10ced87164287819 (diff) | |
download | git-463ea0cfae02b5c74d636d1f62de9c2ba0d03d2d.zip git-463ea0cfae02b5c74d636d1f62de9c2ba0d03d2d.tar.gz git-463ea0cfae02b5c74d636d1f62de9c2ba0d03d2d.tar.bz2 |
doc txt & -h consistency: use "[<label>...]" for "zero or more"
Correct uses of "<label>..." where we really meant to say
"[<label>...]", i.e. the command in question taken an optional set of
"<label>". As the CodingGuidelines notes "[o]ptional parts [should be]
enclosed in square brackets".
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/clean.c')
-rw-r--r-- | builtin/clean.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/clean.c b/builtin/clean.c index 6f039f5..40ff2c5 100644 --- a/builtin/clean.c +++ b/builtin/clean.c @@ -26,7 +26,7 @@ static struct string_list del_list = STRING_LIST_INIT_DUP; static unsigned int colopts; static const char *const builtin_clean_usage[] = { - N_("git clean [-d] [-f] [-i] [-n] [-q] [-e <pattern>] [-x | -X] [--] <pathspec>..."), + N_("git clean [-d] [-f] [-i] [-n] [-q] [-e <pattern>] [-x | -X] [--] [<pathspec>...]"), NULL }; |