From c08cfc395fa40f9ee610a05c23c982a7e11c8fa9 Mon Sep 17 00:00:00 2001 From: Ævar Arnfjörð Bjarmason Date: Thu, 13 Oct 2022 17:39:11 +0200 Subject: doc txt & -h consistency: add or fix optional "--" syntax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. In the case of "rev-list" both sides were wrong, as we we don't require one or more paths if "--" is used, e.g. this is OK: git rev-list HEAD -- That part of this change is not a "doc txt & -h consistency" change, as we're changing both versions, doing so here makes both sides consistent. Signed-off-by: Ævar Arnfjörð Bjarmason Signed-off-by: Junio C Hamano --- builtin/for-each-repo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin/for-each-repo.c') diff --git a/builtin/for-each-repo.c b/builtin/for-each-repo.c index c6379b783c..d45d873f57 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 }; -- cgit 1.2.3-korg