From be9e1f31af8d48d17535082fea98b36682d4cf38 Mon Sep 17 00:00:00 2001 From: PatR Date: Sun, 4 Dec 2022 00:17:50 -0800 Subject: [PATCH] man page and usage: -D Mention the changed character name that happens when running in wizard mode. --- dat/usagehlp | 7 ++++--- doc/nethack.6 | 8 ++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/dat/usagehlp b/dat/usagehlp index b37751e2e..5f70123b2 100644 --- a/dat/usagehlp +++ b/dat/usagehlp @@ -1,6 +1,6 @@ This is a terse description of nethack's command line arguments. -It is oriented toward UNIX (including descendants such as linux and -macOS) and might not be accurate for other platforms. +It is oriented toward UNIX (including descendants such as linux and macOS) +and might not be accurate for other platforms. When starting play, if there is a save file for the chosen character name then it will be restored, otherwise a new game using that name will begin. @@ -17,7 +17,8 @@ nethack -u character-name [-X or -D] -X must be uppercase; character starts with a wand of wishing and player may opt to be life-saved and keep going if character dies; '-D' run in debug mode also known as wizard mode; -D must be uppercase; - if player is not allowed then nethack will switch to -X. + if player is not allowed then nethack will switch to -X; if player + is allowed, character name will be changed to "wizard". A character name may have a suffix specifying any or all of role, race, gender, and alignment such as -u Conan-Bar-Hum-Mal-Neu or -u Tim-Wiz. diff --git a/doc/nethack.6 b/doc/nethack.6 index 7c34b11c1..a3280bb42 100644 --- a/doc/nethack.6 +++ b/doc/nethack.6 @@ -288,10 +288,10 @@ The option will start the game in a special non-scoring discovery mode (also known as explore mode). .B \-D -will start the game in debug mode (also known as wizard mode), -if the player is allowed, otherwise if will switch to -.BR \-X -instead. +will start the game in debug mode (also known as wizard mode) after +changing the character name to \(lqwizard\(rq, if the player is allowed. +Otherwise it will switch to +.BR \-X . Control of who is allowed to use debug mode is done via the .RI "\(lq" WIZARDS= "\(rq line in nethack's " sysconf " file." .PP