control of command-line usage entry in '?' menu

Instead of using a compile-time macro to suppress inclusion of the
menu entry to show UNIX command-line usage in the help menu, use a
sysconf setting instead.

Default is HIDEUSAGE=0, to include the entry for command-line usage.
Set HIDEUSAGE=1 to exclude that.  Does not affect 'nethack --usage'
if player actually has access to the command-line.
This commit is contained in:
PatR
2022-11-18 17:54:17 -08:00
parent 9a7f8418ee
commit 3278d7e0c1
9 changed files with 32 additions and 17 deletions

View File

@@ -69,8 +69,8 @@ nethack --windowtype:Iii
nethack -n
don't show the 'news' file is one is present in nethack's directory.
nethack --nethackrc:File
use File instead of the default run-time configuration file (which is
nethack --nethackrc:RC-file
use RC-file instead of the default run-time configuration file (which is
usually '~/.nethackrc'); the file name should include full path unless
located in nethack's directory;
nethack --no-nethackrc