From 71f04f3b38924bace39e95b901dae37831f8eb52 Mon Sep 17 00:00:00 2001 From: David Griffith Date: Wed, 28 Jun 2017 15:38:35 -0700 Subject: [PATCH] Add -W flag to dumb help. Clarify that -W restricts reading as well. --- src/curses/ux_params.txt | 2 +- src/dumb/dumb_init.c | 18 +++++++++--------- src/dumb/dumb_params.txt | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/curses/ux_params.txt b/src/curses/ux_params.txt index b011fe1..d4cf92d 100644 --- a/src/curses/ux_params.txt +++ b/src/curses/ux_params.txt @@ -22,5 +22,5 @@ -u # slots for multiple undo -v show version information -w # screen width --W write only to this path +-W write/read only to this path -x expand abbreviations g/x/z diff --git a/src/dumb/dumb_init.c b/src/dumb/dumb_init.c index faff814..aadb95e 100644 --- a/src/dumb/dumb_init.c +++ b/src/dumb/dumb_init.c @@ -32,15 +32,15 @@ static void print_version(void); An interpreter for all Infocom and other Z-Machine games.\n\ \n\ Syntax: dfrotz [options] story-file\n\ - -a watch attribute setting \t -R load this save file\n\ - -A watch attribute testing \t -s # random number seed value\n\ - -h # screen height \t -S # transcript width\n\ - -i ignore fatal errors \t -t set Tandy bit\n\ - -I # interpreter number \t -u # slots for multiple undo\n\ - -o watch object movement \t -v show version information\n\ - -O watch object locating \t -w # screen width\n\ - -p plain ASCII output only \t -x expand abbreviations g/x/z\n\ - -P alter piracy opcode \n\ + -a watch attribute setting \t -R load this save file\n\ + -A watch attribute testing \t -s # random number seed value\n\ + -h # screen height \t -S # transcript width\n\ + -i ignore fatal errors \t -t set Tandy bit\n\ + -I # interpreter number \t -u # slots for multiple undo\n\ + -o watch object movement \t -v show version information\n\ + -O watch object locating \t -w # screen width\n\ + -p plain ASCII output only \t -W write/read only to this path\n\ + -P alter piracy opcode \t -x expand abbreviations g/x/z\n\ -r xxx set runtime option \\xxx before starting (can be used repeatedly)\n" /* A unix-like getopt, but with the names changed to avoid any problems. */ diff --git a/src/dumb/dumb_params.txt b/src/dumb/dumb_params.txt index c7ff370..8223303 100644 --- a/src/dumb/dumb_params.txt +++ b/src/dumb/dumb_params.txt @@ -14,5 +14,5 @@ -u # slots for multiple undo -v show version information -w # screen width --W write only to this path +-W write/read only to this path -x expand abbreviations g/x/z -- 2.34.1