summaryrefslogtreecommitdiffstats
path: root/txr.c
diff options
context:
space:
mode:
authorPaul A. Patience <paul@apatience.com>2021-07-03 03:04:40 -0400
committerKaz Kylheku <kaz@kylheku.com>2021-07-03 13:46:55 -0700
commit7e143af86f72595a6e1280cabfd4a85839279a73 (patch)
tree6c71c46adc9374d041c460ba669095b697be2325 /txr.c
parenta06f6a7216b0f2f1c4f64e06f599551f0fb5ac34 (diff)
downloadtxr-7e143af86f72595a6e1280cabfd4a85839279a73.tar.gz
txr-7e143af86f72595a6e1280cabfd4a85839279a73.tar.bz2
txr-7e143af86f72595a6e1280cabfd4a85839279a73.zip
doc: fix various issues.
* RELNOTES: Fix typos. * txr.1: Correct alist-remove and alist-nremove's argument lists (the keys are variadic). Remove "(the empty string)" from abs-path-p examples because it formats bizarrely in man output and is anyway mentioned in the description. Remove spurious spaces from .mets lines interfering with the formatting. Add some missing .code and .meta directives. Unitalicize words of Latin origin that have entered the dictionary ("de facto" and "vice versa"). Add hyphens to compound words used as adjectives. Remove hyphen from "non-matching". Move periods inside parentheses containing full sentences. Add missing words. Remove repeated words. Fix various other minor issues. * txr.c (help): Fix a typo. Clarify a description. Add missing periods. Make some other minor changes.
Diffstat (limited to 'txr.c')
-rw-r--r--txr.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/txr.c b/txr.c
index 67029e28..9e9cc086 100644
--- a/txr.c
+++ b/txr.c
@@ -122,10 +122,10 @@ static void help(void)
"-c query-text The query is read from the query-text argument\n"
" itself. The script-file argument is omitted in\n"
" this case; the first argument is a data file.\n"
-"-f script-file Specify the script-file as an option argument.\n"
-" option, instead of the script-file argument.\n"
+"-f script-file Specify the script-file as an option argument\n"
+" instead of as the script-file argument.\n"
" This allows #! scripts to pass options through\n"
-" to the utility.\n"
+" to the txr utility.\n"
"-e expression Evaluate TXR Lisp expression. Can be specified\n"
" multiple times. The script-file arg becomes optional.\n"
"-p expression Like -e, but prints the result of the expression\n"
@@ -138,26 +138,26 @@ static void help(void)
"-C N Request backward-compatible behavior to the\n"
" specified version of TXR.\n"
"--help Reproduce this help text.\n"
-"--version Display program version\n"
-"--license Display software license\n"
+"--version Display program version.\n"
+"--license Display software license.\n"
" Use of txr implies agreement with the disclaimer\n"
" section at the bottom of the license.\n"
"--lisp Treat unsuffixed query files as TXR Lisp.\n"
"--compiled Treat unsuffixed query files as compiled TXR Lisp.\n"
-"--lisp-bindings Synonym for -l\n"
-"--debugger Synonym for -d\n"
+"--lisp-bindings Synonym for -l.\n"
+"--debugger Synonym for -d.\n"
"--backtrace Enable backtraces.\n"
-"--noninteractive Synonym for -n\n"
-"--compat=N Synonym for -C N\n"
+"--noninteractive Synonym for -n.\n"
+"--compat=N Synonym for -C N.\n"
"--gc-delta=N Invoke garbage collection when malloc activity\n"
" increments by N megabytes since last collection.\n"
"--args... Allows multiple arguments to be encoded as a single\n"
-" argument. This is useful in hash-bang scripting.\n"
-" Peculiar syntax. See manual.\n"
+" argument. This is useful in hash-bang scripts.\n"
+" Peculiar syntax. See the manual.\n"
"--eargs... arg Extended version of --args: additionally consumes\n"
-" the following argument arg, and allows one or more\n"
+" the following argument arg and allows one or more\n"
" copies of it to be to be embedded in the\n"
-" encoded arguments. See manual.\n"
+" encoded arguments. See the manual.\n"
"--noprofile Do not read .txr_profile when entering listener.\n"
#if HAVE_FORK_STUFF
"--reexec Re-execute TXR with remaining arguments.\n"