summaryrefslogtreecommitdiff
path: root/builtin/diagnose.c
diff options
context:
space:
mode:
authorAlex Henrie <alexhenrie24@gmail.com>2022-09-19 23:06:32 -0600
committerJunio C Hamano <gitster@pobox.com>2022-09-21 11:53:35 -0700
commitd956fa8082e1f8fb0fb26493113c1b98fee19fe2 (patch)
treed193bfeb3a995951df208b922e355dae1fb18118 /builtin/diagnose.c
parentcb98e1d50a7a4a84b76f72dad694d49d2276eef3 (diff)
downloadgit-d956fa8082e1f8fb0fb26493113c1b98fee19fe2.tar.gz
builtin/diagnose.c: don't translate the two mode values
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>
Diffstat (limited to 'builtin/diagnose.c')
-rw-r--r--builtin/diagnose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/diagnose.c b/builtin/diagnose.c
index cd260c2015..576e0e8e38 100644
--- a/builtin/diagnose.c
+++ b/builtin/diagnose.c
@@ -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()