summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-03-17 21:11:30 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-03-17 21:11:30 -0700
commit772733d9558e63afe8f33ab9f230407242bed2ce (patch)
tree58f265037591471d199b1711cf343ff61abf2a8e /txr.1
parent41cc08bc7b988e54acef818e6a4a5a24b396fe6f (diff)
downloadtxr-772733d9558e63afe8f33ab9f230407242bed2ce.tar.gz
txr-772733d9558e63afe8f33ab9f230407242bed2ce.tar.bz2
txr-772733d9558e63afe8f33ab9f230407242bed2ce.zip
* txr.c (help): Added missing documentation for -e and -p.
Also documented -P. (txr_main): New option implemented, -P. * txr.1: Document -P, and clean up -e and -p documentation.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.124
1 files changed, 18 insertions, 6 deletions
diff --git a/txr.1 b/txr.1
index ddd334b7..bb8efb4a 100644
--- a/txr.1
+++ b/txr.1
@@ -596,15 +596,27 @@ its value. Can be specified more than once. The
.meta query-file
argument becomes optional if
.code -e
-is used at least once.
+is used at least once. If the evaluation of every
+.meta expression
+evaluated this way terminates normally, and there is no
+.meta query-file
+argument, then \(TX terminates with a successful status.
.meIP -p < expression
-Evaluates a \*(TL expression and prints its value. Can be specified more
-than once. The
-.meta query-file
-argument becomes optional if
+Just like
+.code -e
+but prints the value of
+.meta expression
+using the
+.code prinl
+function.
+
+.meIP -P < expression
+Like
.code -p
-is used at least once.
+but prints using the
+.code pprinl
+function.
.meIP -C < number
.meIP >> --compat= number