summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2022-01-10 23:08:46 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-01-12 10:12:39 -0800
commit5fb249021cfd1cf937a608610c330152936887e1 (patch)
tree69d6a0155b4ca03de4698a39bde7659532b6b60c /builtin
parentcat-file: don't whitespace-pad "(...)" in SYNOPSIS and usage output (diff)
downloadtgif-5fb249021cfd1cf937a608610c330152936887e1.tar.xz
cat-file: s/_/-/ in typo'd usage_msg_optf() message
Fix a typo in my recent 03dc51fe849 (cat-file: fix remaining usage bugs, 2021-10-09). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Acked-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/cat-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/cat-file.c b/builtin/cat-file.c
index e36492235b..7b3f42950e 100644
--- a/builtin/cat-file.c
+++ b/builtin/cat-file.c
@@ -727,7 +727,7 @@ int cmd_cat_file(int argc, const char **argv, const char *prefix)
;
else if (batch.follow_symlinks)
usage_msg_optf(_("'%s' requires a batch mode"), usage, options,
- "--follow_symlinks");
+ "--follow-symlinks");
else if (batch.buffer_output >= 0)
usage_msg_optf(_("'%s' requires a batch mode"), usage, options,
"--buffer");