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>
This commit is contained in:
Ævar Arnfjörð Bjarmason
2022-10-13 17:39:21 +02:00
committed by Junio C Hamano
parent df8738116f
commit 463ea0cfae
3 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ static const char * const builtin_commit_usage[] = {
};
static const char * const builtin_status_usage[] = {
N_("git status [<options>] [--] <pathspec>..."),
N_("git status [<options>] [--] [<pathspec>...]"),
NULL
};