doc txt & -h consistency: make "bundle" consistent
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>
Ævar Arnfjörð Bjarmason committed
Oct 13, 2022 at 17:39 UTC
a5748670e387dd32450a59b00d17044a34818b9a
1 file changed
+4
-3
builtin/bundle.c
+4
-3
@@ -12,13 +12,14 @@
12
*/
13
14
#define BUILTIN_BUNDLE_CREATE_USAGE \
15
- N_("git bundle create [<options>] <file> <git-rev-list args>")
15
+ N_("git bundle create [-q | --quiet | --progress | --all-progress] [--all-progress-implied]\n" \
16
+ " [--version=<version>] <file> <git-rev-list-args>")
17
#define BUILTIN_BUNDLE_VERIFY_USAGE \
17
- N_("git bundle verify [<options>] <file>")
18
+ N_("git bundle verify [-q | --quiet] <file>")
19
#define BUILTIN_BUNDLE_LIST_HEADS_USAGE \
20
N_("git bundle list-heads <file> [<refname>...]")
21
#define BUILTIN_BUNDLE_UNBUNDLE_USAGE \
21
- N_("git bundle unbundle <file> [<refname>...]")
22
+ N_("git bundle unbundle [--progress] <file> [<refname>...]")
23
24
static char const * const builtin_bundle_usage[] = {
25
BUILTIN_BUNDLE_CREATE_USAGE,