aboutsummaryrefslogtreecommitdiffstats
path: root/builtin
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-10-13 17:39:15 +0200
committerJunio C Hamano <gitster@pobox.com>2022-10-13 09:32:56 -0700
commite8eeda1f9e1e125e268e97cfea42bf3ea8232b68 (patch)
tree6f9a0c3a42359c018cfbc92be63cdfbcc09f4187 /builtin
parentd7756184c94547348766216614855e4db7a3a888 (diff)
downloadgit-e8eeda1f9e1e125e268e97cfea42bf3ea8232b68.tar.gz
doc txt & -h consistency: make "read-tree" consistent
The C version was right to use "()" in place of "[]" around the option listing, let's update the *.txt version accordingly, and furthermore list the *.c options in the same order as the *.txt. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/read-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/read-tree.c b/builtin/read-tree.c
index b3a389e1b1..f4cbe460b9 100644
--- a/builtin/read-tree.c
+++ b/builtin/read-tree.c
@@ -39,7 +39,7 @@ static int list_tree(struct object_id *oid)
static const char * const read_tree_usage[] = {
N_("git read-tree [(-m [--trivial] [--aggressive] | --reset | --prefix=<prefix>)\n"
- " [-u | -i]] [--no-sparse-checkout] [--index-output=<file>]\n"
+ " [-u | -i]] [--index-output=<file>] [--no-sparse-checkout]\n"
" (--empty | <tree-ish1> [<tree-ish2> [<tree-ish3>]])"),
NULL
};