From: Derrick Stolee via GitGitGadget Date: Sun, 20 Oct 2024 13:43:26 GMT Subject: [PATCH v2 13/17] repack: update usage to match docs Message-ID: <6ef8d67af4b55f91b681c980301d3d190dd5a4e2.1729431811.git.gitgitgadget@gmail.com> In-Reply-To: From: Derrick Stolee The t0450 test script verifies that the builtin usage matches the synopsis in the documentation. Update 'git repack' to match and remove it from the exception list. Signed-off-by: Derrick Stolee --- builtin/repack.c | 2 +- t/t0450/txt-help-mismatches | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/builtin/repack.c b/builtin/repack.c index af3f218ced7..50f208b48b4 100644 --- a/builtin/repack.c +++ b/builtin/repack.c @@ -41,7 +41,7 @@ static char *packdir, *packtmp_name, *packtmp; static const char *const git_repack_usage[] = { N_("git repack [-a] [-A] [-d] [-f] [-F] [-l] [-n] [-q] [-b] [-m]\n" "[--window=] [--depth=] [--threads=] [--keep-pack=]\n" - "[--write-midx] [--full-path-walk]"), + "[--write-midx] [--path-walk]"), NULL }; diff --git a/t/t0450/txt-help-mismatches b/t/t0450/txt-help-mismatches index 285ae81a6b5..06b469bdee2 100644 --- a/t/t0450/txt-help-mismatches +++ b/t/t0450/txt-help-mismatches @@ -44,7 +44,6 @@ rebase remote remote-ext remote-fd -repack reset restore rev-parse -- gitgitgadget