summaryrefslogtreecommitdiffstats
path: root/builtin/verify-pack.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-10-13 17:39:11 +0200
committerJunio C Hamano <gitster@pobox.com>2022-10-13 18:32:56 +0200
commitc08cfc395fa40f9ee610a05c23c982a7e11c8fa9 (patch)
treea15f2747ba8eb15a0033b908921e2c2465d186b1 /builtin/verify-pack.c
parentdoc txt & -h consistency: fix mismatching labels (diff)
downloadgit-c08cfc395fa40f9ee610a05c23c982a7e11c8fa9.tar.xz
git-c08cfc395fa40f9ee610a05c23c982a7e11c8fa9.zip
doc txt & -h consistency: add or fix optional "--" syntax
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 <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/verify-pack.c')
-rw-r--r--builtin/verify-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/verify-pack.c b/builtin/verify-pack.c
index db9ac5c460..27d6f75fd8 100644
--- a/builtin/verify-pack.c
+++ b/builtin/verify-pack.c
@@ -56,7 +56,7 @@ static int verify_one_pack(const char *path, unsigned int flags, const char *has
}
static const char * const verify_pack_usage[] = {
- N_("git verify-pack [-v | --verbose] [-s | --stat-only] <pack>.idx..."),
+ N_("git verify-pack [-v | --verbose] [-s | --stat-only] [--] <pack>.idx..."),
NULL
};