From: Ævar Arnfjörð Bjarmason Date: Wed, 28 Sep 2022 08:39:13 GMT Subject: [PATCH v2 18/35] doc txt & -h consistency: add or fix optional "--" syntax Message-ID: In-Reply-To: Add the "[--]" for those cases where the *.txt and -h were inconsistent, or where we incorrectly stated in one but not the other that the "--" was mandatory. Signed-off-by: Ævar Arnfjörð Bjarmason --- builtin/for-each-repo.c | 2 +- builtin/rev-list.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/for-each-repo.c b/builtin/for-each-repo.c index c6379b783c8..d45d873f579 100644 --- a/builtin/for-each-repo.c +++ b/builtin/for-each-repo.c @@ -6,7 +6,7 @@ #include "string-list.h" static const char * const for_each_repo_usage[] = { - N_("git for-each-repo --config= "), + N_("git for-each-repo --config= [--] "), NULL }; diff --git a/builtin/rev-list.c b/builtin/rev-list.c index ada68a4af5e..3cc8aad52ed 100644 --- a/builtin/rev-list.c +++ b/builtin/rev-list.c @@ -20,7 +20,7 @@ #include "packfile.h" static const char rev_list_usage[] = -"git rev-list [] ... [-- ...]\n" +"git rev-list [] ... [[--] ...]\n" "\n" " limiting output:\n" " --max-count=\n" -- 2.38.0.rc1.925.gb61c5ccd7da