From 99e45e6daa66fe5d5e749bd7dd6c09bdfa2c46d0 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Tue, 13 Sep 2022 13:41:27 +0300 Subject: [PATCH] Allow suppressing debugfuzzer warnings --- src/cmd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cmd.c b/src/cmd.c index cb36eadb9..804c0f017 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -1551,8 +1551,10 @@ wiz_panic(void) static int wiz_fuzzer(void) { - pline("The fuzz tester will make NetHack execute random keypresses."); - pline("There is no conventional way out of this mode."); + if (flags.suppress_alert < FEATURE_NOTICE_VER(3,7,0)) { + pline("The fuzz tester will make NetHack execute random keypresses."); + pline("There is no conventional way out of this mode."); + } if (paranoid_query(TRUE, "Do you want to start fuzz testing?")) iflags.debug_fuzzer = TRUE; /* Thoth, take the reins */ return ECMD_OK;