]> git.99rst.org Git - git.git/commitdiff
cat-file: s/_/-/ in typo'd usage_msg_optf() message
authorÆvar Arnfjörð Bjarmason <redacted>
Mon, 10 Jan 2022 22:08:46 +0000 (23:08 +0100)
committerJunio C Hamano <redacted>
Wed, 12 Jan 2022 18:12:39 +0000 (10:12 -0800)
Fix a typo in my recent 03dc51fe849 (cat-file: fix remaining usage
bugs, 2021-10-09).

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Acked-by: Taylor Blau <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/cat-file.c

index e36492235bab5b7d0e8365f913aeccaebf4fc18c..7b3f42950ec88e56e2eac6ac31910f983501a399 100644 (file)
@@ -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");
git clone https://git.99rst.org/PROJECT