diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-04-04 20:13:42 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-04-04 20:13:42 -0700 |
commit | ab2bd375ee064936ba61cdfee1b4d832541a0af0 (patch) | |
tree | d5d56cda57ec7008547c4a4ef5b5a3801f0344d7 /txr.c | |
parent | c23f91464c4b68fb0190a8f395f302ab9f1e451d (diff) | |
download | txr-ab2bd375ee064936ba61cdfee1b4d832541a0af0.tar.gz txr-ab2bd375ee064936ba61cdfee1b4d832541a0af0.tar.bz2 txr-ab2bd375ee064936ba61cdfee1b4d832541a0af0.zip |
Connect -n option to linenoise noninteractive mode.
* parser.c (repl): Set noninteractive mode from noninteractive
option.
* txr.c (help): Mention effect of -n upon listener.
* txr.1: Documented effect of -n/--noninteractive on the
listener.
Diffstat (limited to 'txr.c')
-rw-r--r-- | txr.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -125,6 +125,8 @@ static void help(void) "-d Debugger mode.\n" "-n Noninteractive input mode for standard input stream,\n" " even if its connected to a terminal device.\n" +" Also, forces the interactive listener into\n" +" 'plain mode' without editing features.\n" "-a N Generate array variables up to N dimensions.\n" " N is a decimal integer. The default value is 1.\n" " Additional dimensions beyond N are fudged\n" |