]> granicus.if.org Git - nethack/commitdiff
Rename command to #debugfuzzer, add some z and doc
authorPasi Kallinen <paxed@alt.org>
Sun, 21 Aug 2022 09:10:08 +0000 (12:10 +0300)
committerPasi Kallinen <paxed@alt.org>
Sun, 21 Aug 2022 09:10:08 +0000 (12:10 +0300)
doc/Guidebook.mn
doc/Guidebook.tex
doc/fixes3-7-0.txt
src/cmd.c

index 20f50eeb0c4e4dfb4caa5953d7cc2d615b823f6c..2c974b986e6383be1141fc9856040cd775e10772 100644 (file)
@@ -1243,6 +1243,9 @@ Autocompletes.
 Default key is \(oqM-C\(cq.
 .lp ""
 See the section below entitled \(lqConduct\(rq for details.
+.lp #debugfuzzer
+Start the fuzz tester.
+Debug mode only.
 .lp "#dip     "
 Dip an object into something.
 Autocompletes.
index fb6c653ee3e2a83a5804274571067e67d1d2429c..4fd0326095893f701c882e83c94d6b8e63228da9 100644 (file)
@@ -1350,6 +1350,10 @@ Default key is `{\tt M-C}'.\\
 %.lp ""
 See the section below entitled ``Conduct'' for details.
 %.lp
+\item[\tb{\#debugfuzzer}]
+Start the fuzz tester.
+Debug mode only.
+%.lp
 \item[\tb{\#dip}]
 Dip an object into something. Autocompletes. Default key is `{\tt M-d}'.\\
 %.lp ""
index afdeb9996bb427bd3fa249e71db89dacc7fe5188..fcf6c47e8687b1036df3a741d8154c5199e6c0d1 100644 (file)
@@ -1011,7 +1011,7 @@ if a pet gelatinous cube eats a container, treat it the same as when a hostile
        one does:  the container is destroyed but its conters are engulfed
 when breaking a wand of sleep hits the hero with the explosion, don't describe
        that as "the sleep ray hits you"
-expose fuz tester to wizard-mode as #fuzzer extended command
+expose fuzz tester to wizard-mode as #debugfuzzer extended command
 monsters which cannot move due to boulders or walls try to escape
 intelligent monsters see and remember when others trigger traps
 
index 110324c8b53dd9071b77f94d74f6a1419a2b5aaf..6b75b834d7d31fc93f4a1783a3576e9bc36dfd6e 100644 (file)
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -1539,13 +1539,13 @@ wiz_panic(void)
     return ECMD_OK;
 }
 
-/* #fuzzer command - fuztest the program */
+/* #debugfuzzer command - fuzztest the program */
 static int
 wiz_fuzzer(void)
 {
-    pline("The fuz tester will make NetHack execute random keypresses.");
+    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 fuz testing?"))
+    if (paranoid_query(TRUE, "Do you want to start fuzz testing?"))
         iflags.debug_fuzzer = TRUE; /* Thoth, take the reins */
     return ECMD_OK;
 }
@@ -2504,6 +2504,8 @@ struct ext_func_tab extcmdlist[] = {
               doclose, 0, NULL },
     { M('C'), "conduct", "list voluntary challenges you have maintained",
               doconduct, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL },
+    { '\0',   "debugfuzzer", "start the fuzz tester",
+              wiz_fuzzer, IFBURIED | WIZMODECMD | NOFUZZERCMD, NULL },
     { M('d'), "dip", "dip an object into something",
               dodip, AUTOCOMPLETE | CMD_M_PREFIX, NULL },
     { '>',    "down", "go down a staircase",
@@ -2531,8 +2533,6 @@ struct ext_func_tab extcmdlist[] = {
               dofire, 0, NULL },
     { M('f'), "force", "force a lock",
               doforce, AUTOCOMPLETE, NULL },
-    { '\0',   "fuzzer", "start the fuz tester",
-              wiz_fuzzer, IFBURIED | WIZMODECMD | NOFUZZERCMD, NULL },
     { ';',    "glance", "show what type of thing a map symbol corresponds to",
               doquickwhatis, IFBURIED | GENERALCMD, NULL },
     { '?',    "help", "give a help message",