]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/sparse-checkout.c
doc txt & -h consistency: use "<options>", not "<options>..."
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 13 Oct 2022 15:39:08 +0000 (17:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Oct 2022 16:32:55 +0000 (09:32 -0700)
commit23a9235d523f3e8e7dd9becee23a15559b4e5a32
treeaaa5d31e0d3bdf4449ac83474f15be55334b475a
parent007512152e1c8cf64dbb12d8bbc86f5a2514b78d
doc txt & -h consistency: use "<options>", not "<options>..."

It's arguably more correct to say "[<option>...]" than either of these
forms, but the vast majority of our documentation uses the
"[<options>]" form to indicate an arbitrary number of options, let's
do the same in these cases, which were the odd ones out.

In the case of "mv" and "sparse-checkout" let's add the missing "[]"
to indicate that these are optional.

In the case of "t/helper/test-proc-receive.c" there is no *.txt
version, making it the only hunk in this commit that's not a "doc txt
& -h consistency" change.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-mv.txt
Documentation/git-status.txt
builtin/pack-objects.c
builtin/sparse-checkout.c
t/helper/test-proc-receive.c