]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc txt & -h consistency: make "bundle" consistent
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 13 Oct 2022 15:39:16 +0000 (17:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Oct 2022 16:32:57 +0000 (09:32 -0700)
Amend the -h output to match that of the *.txt output, the differences
were fairly small. In the case of "[<options>]" we only have a few of
them, so let's exhaustively list them as in the *.txt.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/bundle.c

index 1b08700bf9e6a72feeb6ddee56ee64dd2ec0a04f..544c78a5f3ae29c1d3c71fdaf78cc9a83c90dec4 100644 (file)
  */
 
 #define BUILTIN_BUNDLE_CREATE_USAGE \
-       N_("git bundle create [<options>] <file> <git-rev-list args>")
+       N_("git bundle create [-q | --quiet | --progress | --all-progress] [--all-progress-implied]\n" \
+          "                  [--version=<version>] <file> <git-rev-list-args>")
 #define BUILTIN_BUNDLE_VERIFY_USAGE \
-       N_("git bundle verify [<options>] <file>")
+       N_("git bundle verify [-q | --quiet] <file>")
 #define BUILTIN_BUNDLE_LIST_HEADS_USAGE \
        N_("git bundle list-heads <file> [<refname>...]")
 #define BUILTIN_BUNDLE_UNBUNDLE_USAGE \
-       N_("git bundle unbundle <file> [<refname>...]")
+       N_("git bundle unbundle [--progress] <file> [<refname>...]")
 
 static char const * const builtin_bundle_usage[] = {
        BUILTIN_BUNDLE_CREATE_USAGE,