summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-05-21 19:44:47 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-05-21 19:44:47 -0700
commit59f9e3c87dcba0c9bfcfe99ed46dca9b10bb7723 (patch)
treea4744081f96036197a4d1bb9a8cc95c428e67623
parentb560962addede5c7c3bdaa7ac5535aed996e2611 (diff)
downloadtxr-59f9e3c87dcba0c9bfcfe99ed46dca9b10bb7723.tar.gz
txr-59f9e3c87dcba0c9bfcfe99ed46dca9b10bb7723.tar.bz2
txr-59f9e3c87dcba0c9bfcfe99ed46dca9b10bb7723.zip
txr: match help text wording to doc.
* txr.c (help): Refer to "script-file" rather than "query-file", just like the documentation.
-rw-r--r--txr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/txr.c b/txr.c
index d4f5cd2b..1e59c695 100644
--- a/txr.c
+++ b/txr.c
@@ -79,13 +79,13 @@ static void help(void)
"\n"
"Usage:\n"
"\n"
-" ~a [ options ] query-file { data-file }*\n"
+" ~a [ options ] script-file { data-file }*\n"
"\n"
#if HAVE_TERMIOS
"If no arguments are present, TXR will enter into interactive listener mode.\n"
"\n"
#endif
-"The query-file or data-file arguments may be specified as -, in which case\n"
+"The script-file or data-file arguments may be specified as -, in which case\n"
"standard input is used. All data-file arguments which begin with a !\n"
"character are treated as command pipes. Those which begin with a $\n"
"are interpreted as directories to read. Leading arguments which begin\n"
@@ -121,14 +121,14 @@ static void help(void)
" Additional dimensions beyond N are fudged\n"
" by generating numeric suffixes. Implies -B.\n"
"-c query-text The query is read from the query-text argument\n"
-" itself. The query-file argument is omitted in\n"
+" itself. The script-file argument is omitted in\n"
" this case; the first argument is a data file.\n"
-"-f query-file Specify the query-file as an option argument.\n"
-" option, instead of the query-file argument.\n"
+"-f script-file Specify the script-file as an option argument.\n"
+" option, instead of the script-file argument.\n"
" This allows #! scripts to pass options through\n"
" to the utility.\n"
"-e expression Evaluate TXR Lisp expression. Can be specified\n"
-" multiple times. The query-file arg becomes optional.\n"
+" multiple times. The script-file arg becomes optional.\n"
"-p expression Like -e, but prints the result of the expression\n"
" using the prinl function.\n"
"-P expression Like -p, but prints using pprinl.\n"