manpage update
Add -w|--windowtype. Also --scores and --directory as recognized variations of -s and -d. Add -@. The existing description of '-p @' seems to be inaccurate, and random role but still having to supply race+gender+alignment isn't very useful anyway. The bit about maybe needing to quote @ with backslash might still be useful if moved to -@ though. Add -A|-Arc -B|-Bar ... -W|Wiz since they hadn't been listed. I put them on their own line instead of cluttering up the main program invocation even further. Move '-u character-name' before '-D' since that order matters on some platforms. Move --showpaths and --version to a separate command invocation since combining them with any other stuff ends up ignoring that other stuff. I didn't add --dumpenums. The description of config file name and location under '-dec and -ibm' is out of date, particularly for Windows.
This commit is contained in:
+139
-43
@@ -18,9 +18,15 @@ nethack \- Exploring The Mazes of Menace
|
|||||||
.hy 0
|
.hy 0
|
||||||
.B nethack
|
.B nethack
|
||||||
[
|
[
|
||||||
.B \-d
|
.BR \-d | \-\-directory
|
||||||
.I directory
|
.I directory
|
||||||
]
|
]
|
||||||
|
.\" '.B token newline .I token' will include a space between the two tokens;
|
||||||
|
.\" '.BI|BR token token' will not.
|
||||||
|
[
|
||||||
|
.BR \-w | \-\-windowtype
|
||||||
|
.I interface
|
||||||
|
]
|
||||||
[
|
[
|
||||||
.B \-n
|
.B \-n
|
||||||
]
|
]
|
||||||
@@ -33,31 +39,59 @@ nethack \- Exploring The Mazes of Menace
|
|||||||
.I race
|
.I race
|
||||||
]
|
]
|
||||||
[
|
[
|
||||||
.B \-[DX]
|
|
||||||
]
|
|
||||||
[
|
|
||||||
.B \-u
|
.B \-u
|
||||||
.I playername
|
.I playername
|
||||||
]
|
]
|
||||||
|
.\" -[DX] used to be before -u but on Windows and MS-DOS, '-u wizard'
|
||||||
|
.\" needs to be present before -D in order for it to be allowed, so show
|
||||||
|
.\" -[DX} after '-u playername' even though this man page is for Unix.
|
||||||
|
[
|
||||||
|
.B \-[DX]
|
||||||
|
]
|
||||||
|
[
|
||||||
|
.B \-\@
|
||||||
|
]
|
||||||
[
|
[
|
||||||
.B \-dec
|
.B \-dec
|
||||||
]
|
|
|
||||||
[
|
|
||||||
.B \-ibm
|
.B \-ibm
|
||||||
]
|
]
|
||||||
|
.PP
|
||||||
|
Also
|
||||||
[
|
[
|
||||||
.BR \-\-showpaths
|
.BR \-A | \-Arc
|
||||||
]
|
|
|
||||||
[
|
.BR \-B | \-Bar
|
||||||
.BR \-\-version [ :paste ]
|
|
|
||||||
|
.BR \-C | \-Cav
|
||||||
|
|
|
||||||
|
.BR \-H | \-Hea
|
||||||
|
|
|
||||||
|
.BR \-K | \-Kni
|
||||||
|
|
|
||||||
|
.BR \-M | \-Mon
|
||||||
|
|
|
||||||
|
.BR \-P | \-Pri
|
||||||
|
|
|
||||||
|
.BR \-R | \-Rog
|
||||||
|
|
|
||||||
|
.BR \-Ran
|
||||||
|
|
|
||||||
|
.BR \-S | \-Sam
|
||||||
|
|
|
||||||
|
.BR \-T | \-Tou
|
||||||
|
|
|
||||||
|
.BR \-V | \-Val
|
||||||
|
|
|
||||||
|
.BR \-W | \-Wiz
|
||||||
]
|
]
|
||||||
.PP
|
.PP
|
||||||
.B nethack
|
.B nethack
|
||||||
[
|
[
|
||||||
.B \-d
|
.BR \-d | \-\-directory
|
||||||
.I directory
|
.I directory
|
||||||
]
|
]
|
||||||
.B \-s
|
.BR \-s | \-\-scores
|
||||||
[
|
[
|
||||||
.B \-v
|
.B \-v
|
||||||
]
|
]
|
||||||
@@ -72,6 +106,14 @@ nethack \- Exploring The Mazes of Menace
|
|||||||
[
|
[
|
||||||
.I playernames
|
.I playernames
|
||||||
]
|
]
|
||||||
|
.PP
|
||||||
|
.B nethack
|
||||||
|
[
|
||||||
|
.BR \-\-showpaths
|
||||||
|
]
|
||||||
|
[
|
||||||
|
.BR \-\-version [ :paste ]
|
||||||
|
]
|
||||||
.ad
|
.ad
|
||||||
.hy 14
|
.hy 14
|
||||||
.\" Make sure path is not hyphenated below
|
.\" Make sure path is not hyphenated below
|
||||||
@@ -117,7 +159,7 @@ The ? command provides a description of these options and syntax.
|
|||||||
.B \-dec
|
.B \-dec
|
||||||
and
|
and
|
||||||
.B \-ibm
|
.B \-ibm
|
||||||
command line options are equivalent to the
|
command line options are mutually exclusive and are equivalent to the
|
||||||
.B decgraphics
|
.B decgraphics
|
||||||
and
|
and
|
||||||
.B ibmgraphics
|
.B ibmgraphics
|
||||||
@@ -130,7 +172,7 @@ graphics characters), options may also be included in a configuration
|
|||||||
file.
|
file.
|
||||||
The default is located in your home directory and
|
The default is located in your home directory and
|
||||||
named .nethackrc on Unix systems. On other systems, the default may be
|
named .nethackrc on Unix systems. On other systems, the default may be
|
||||||
different, usually NetHack.cnf. On DOS or Windows, the name is
|
different, usually NetHack.cnf. On MS-DOS or Windows, the name is
|
||||||
defaults.nh, while on the Macintosh or BeOS, it is NetHack Defaults.
|
defaults.nh, while on the Macintosh or BeOS, it is NetHack Defaults.
|
||||||
The configuration file's location may be specified by setting NETHACKOPTIONS
|
The configuration file's location may be specified by setting NETHACKOPTIONS
|
||||||
to a string consisting of an @ character followed by the filename.
|
to a string consisting of an @ character followed by the filename.
|
||||||
@@ -178,12 +220,92 @@ Likewise,
|
|||||||
.I race
|
.I race
|
||||||
can be used to explicitly request that a race be chosen.
|
can be used to explicitly request that a race be chosen.
|
||||||
.PP
|
.PP
|
||||||
Leaving out any of these characteristics will result in you being prompted
|
.\" Note: 'BR -A | -Arc' produces "-A|-Arc" (no spaces);
|
||||||
|
.\" '-A | -Arc' newline '|' newline '-B | -Bar' produces "-A|-Arc | -B|-Bar"
|
||||||
|
The
|
||||||
|
.BR \-A | \-Arc
|
||||||
|
|
|
||||||
|
.BR \-B | \-Bar
|
||||||
|
|
|
||||||
|
.BR \-C | \-Cav
|
||||||
|
|
|
||||||
|
.BR \-H | \-Hea
|
||||||
|
|
|
||||||
|
.BR \-K | \-Kni
|
||||||
|
|
|
||||||
|
.BR \-M | \-Mon
|
||||||
|
|
|
||||||
|
.BR \-P | \-Pri
|
||||||
|
|
|
||||||
|
.BR \-R | \-Rog
|
||||||
|
|
|
||||||
|
.BR \-Ran
|
||||||
|
|
|
||||||
|
.BR \-S | \-Sam
|
||||||
|
|
|
||||||
|
.BR \-T | \-Tou
|
||||||
|
|
|
||||||
|
.BR \-V | \-Val
|
||||||
|
|
|
||||||
|
.BR \-W | \-Wiz
|
||||||
|
options for role selection are maintained for compatibility with older
|
||||||
|
versions of the program.
|
||||||
|
They are mutually exclusive and the single-letter form must be uppercase.
|
||||||
|
.I Ranger
|
||||||
|
has no single-letter choice because
|
||||||
|
.B \-R
|
||||||
|
is already used for the
|
||||||
|
.I Rogue
|
||||||
|
role.
|
||||||
|
.PP
|
||||||
|
.B \-\@
|
||||||
|
choose any omitted characteristics (profession/role, race, gender,
|
||||||
|
alignment) randomly without prompting.
|
||||||
|
Otherwise, leaving out any of these characteristics will result in you
|
||||||
|
being prompted
|
||||||
during the game startup for the information.
|
during the game startup for the information.
|
||||||
.PP
|
.PP
|
||||||
|
The
|
||||||
|
.B \-n
|
||||||
|
option suppresses printing of any news from the game administrator.
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.B \-s
|
.B \-D
|
||||||
|
or
|
||||||
|
.B \-X
|
||||||
|
option will start the game in a special non-scoring discovery mode.
|
||||||
|
.B \-D
|
||||||
|
will, if the player is the game administrator, start in debugging (wizard)
|
||||||
|
mode instead.
|
||||||
|
.\" TODO? describe "WIZARDS=x y z" line from SYSCF/sysconf.
|
||||||
|
.PP
|
||||||
|
The
|
||||||
|
.BR \-d " or " \-\-directory
|
||||||
|
option, which must be the first argument if it appears,
|
||||||
|
supplies a directory which is to serve as the playground.
|
||||||
|
It overrides the value from NETHACKDIR, HACKDIR,
|
||||||
|
or the directory specified by the game administrator during compilation
|
||||||
|
(usually /usr/games/lib/nethackdir).
|
||||||
|
This option is usually only useful to the game administrator.
|
||||||
|
The playground must contain several auxiliary files such as help files,
|
||||||
|
the list of top scorers, and a subdirectory
|
||||||
|
.I save
|
||||||
|
where games are saved.
|
||||||
|
.PP
|
||||||
|
The
|
||||||
|
.BR \-w " or " \-\-windowtype
|
||||||
|
.I
|
||||||
|
interface
|
||||||
|
option can be used to specify which interface to use if the program
|
||||||
|
has been built with support for more than one.
|
||||||
|
Specifying a value on the command line overrides any value
|
||||||
|
specified in the run-time configuration file.
|
||||||
|
NetHack's #version command shows available interfaces.
|
||||||
|
.PP
|
||||||
|
Some options provide feedback and then exit rather than play the game.
|
||||||
|
.PP
|
||||||
|
The
|
||||||
|
.BR \-s " or " \-\-scores
|
||||||
option alone will print out the list of your scores on the current version.
|
option alone will print out the list of your scores on the current version.
|
||||||
An immediately following
|
An immediately following
|
||||||
.B \-v
|
.B \-v
|
||||||
@@ -199,32 +321,6 @@ It may also be followed by one or more player names to print the scores of the
|
|||||||
players mentioned, by 'all' to print out all scores, or by a number to print
|
players mentioned, by 'all' to print out all scores, or by a number to print
|
||||||
that many top scores.
|
that many top scores.
|
||||||
.PP
|
.PP
|
||||||
The
|
|
||||||
.B \-n
|
|
||||||
option suppresses printing of any news from the game administrator.
|
|
||||||
.PP
|
|
||||||
The
|
|
||||||
.B \-D
|
|
||||||
or
|
|
||||||
.B \-X
|
|
||||||
option will start the game in a special non-scoring discovery mode.
|
|
||||||
.B \-D
|
|
||||||
will, if the player is the game administrator, start in debugging (wizard)
|
|
||||||
mode instead.
|
|
||||||
.PP
|
|
||||||
The
|
|
||||||
.B \-d
|
|
||||||
option, which must be the first argument if it appears,
|
|
||||||
supplies a directory which is to serve as the playground.
|
|
||||||
It overrides the value from NETHACKDIR, HACKDIR,
|
|
||||||
or the directory specified by the game administrator during compilation
|
|
||||||
(usually /usr/games/lib/nethackdir).
|
|
||||||
This option is usually only useful to the game administrator.
|
|
||||||
The playground must contain several auxiliary files such as help files,
|
|
||||||
the list of top scorers, and a subdirectory
|
|
||||||
.I save
|
|
||||||
where games are saved.
|
|
||||||
.PP
|
|
||||||
.B \-\-showpaths
|
.B \-\-showpaths
|
||||||
can be used to cause NetHack to show where it is expecting
|
can be used to cause NetHack to show where it is expecting
|
||||||
to find various configuration files.
|
to find various configuration files.
|
||||||
@@ -234,7 +330,7 @@ can be used to cause NetHack to show the version information it
|
|||||||
was compiled with, then exit. That will include the
|
was compiled with, then exit. That will include the
|
||||||
.I git
|
.I git
|
||||||
commit hash if the information was available when the game was compiled.
|
commit hash if the information was available when the game was compiled.
|
||||||
On some platforms, such as windows and macosx, a variation
|
On some platforms, such as Windows and macOS, a variation
|
||||||
.B \-\-version:paste
|
.B \-\-version:paste
|
||||||
can be used to cause NetHack to show the version information, then exit,
|
can be used to cause NetHack to show the version information, then exit,
|
||||||
while also leaving a copy of the version information in the paste buffer
|
while also leaving a copy of the version information in the paste buffer
|
||||||
|
|||||||
Reference in New Issue
Block a user