[PATCH v4 22/34] doc txt & -h consistency: make "bundle" consistent
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Oct 4, 2022, 13:23 UTC
- Message-ID
- <patch-v4-22.34-c3d227c17c6-20221004T132211Z-avarab@gmail.com>
- In-Reply-To
- <cover-v4-00.34-00000000000-20221004T132211Z-avarab@gmail.com>
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> --- builtin/bundle.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/builtin/bundle.c b/builtin/bundle.c index 1b08700bf9e..544c78a5f3a 100644 --- a/builtin/bundle.c +++ b/builtin/bundle.c @@ -12,13 +12,14 @@ */ #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,
-- 2.38.0.rc2.935.g6b421ae1592