]> git.ipfire.org Git - thirdparty/git.git/commit
bundle <cmd>: have usage_msg_opt() note the missing "<file>"
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 27 Dec 2022 18:39:10 +0000 (19:39 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Dec 2022 23:30:52 +0000 (08:30 +0900)
commit6d5e9e53aa46b97227a25c85400fd00b8237411a
tree38a5f78ca653b1fb3bc6a89496f37e899f4d763a
parente778ecbcee3a4a14e46c06d66328fdfc0af8780d
bundle <cmd>: have usage_msg_opt() note the missing "<file>"

Improve the usage we emit on e.g. "git bundle create" to note why
we're showing the usage, it's because the "<file>" argument is
missing.

We know that'll be the case for all parse_options_cmd_bundle() users,
as they're passing the "char **bundle_file" parameter, which as the
context shows we're expected to populate.

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