]> git.ipfire.org Git - thirdparty/git.git/commitdiff
builtin/diagnose.c: don't translate the two mode values
authorAlex Henrie <alexhenrie24@gmail.com>
Tue, 20 Sep 2022 05:06:32 +0000 (23:06 -0600)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Sep 2022 18:53:35 +0000 (11:53 -0700)
These strings are not translatable in the diagnose_options array in
diagnose.c. Don't translate them in builtin/diagnose.c either.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/diagnose.c

index cd260c20155e27ca53dbade2dc0cec284b1b720f..576e0e8e385c97961eda6292d7db14e55e4169cc 100644 (file)
@@ -22,7 +22,7 @@ int cmd_diagnose(int argc, const char **argv, const char *prefix)
                           N_("specify a destination for the diagnostics archive")),
                OPT_STRING('s', "suffix", &option_suffix, N_("format"),
                           N_("specify a strftime format suffix for the filename")),
-               OPT_CALLBACK_F(0, "mode", &mode, N_("(stats|all)"),
+               OPT_CALLBACK_F(0, "mode", &mode, "(stats|all)",
                               N_("specify the content of the diagnostic archive"),
                               PARSE_OPT_NONEG, option_parse_diagnose),
                OPT_END()