From 7c1eda9eec81468c7083877f88f94b0dbd3ef068 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 27 Feb 2012 05:05:58 -0800 Subject: * match.c (extract): Check for negative value of opt_nobindings, which forces the printing. * txr.c (help): Under -b, mention that printing the word false is suppressed also. Added documentation for -B. (main): Implemented -B option. * txr.1: Documented -B option and added clarifying text under -b option explaining the conditions under which bindings are printed. --- txr.1 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'txr.1') diff --git a/txr.1 b/txr.1 index 2307d2f1..7ea141df 100644 --- a/txr.1 +++ b/txr.1 @@ -107,7 +107,15 @@ Suppresses the printing of variable bindings for a successful query, and the word . IR false for a failed query. The program still sets an appropriate -termination status. +termination status. Bindings are implicitly suppressed if the TXR query +performs an output operation on any file stream other than *stddebug*. +(Internal streams like string streams do not count as output.) + +.IP -B +Force the printing of variable bindings for a successful query, and the +word . +IR false +for a failed query, even if the program produced output. .IP "-l or --lisp-bindings" Print the variable bindings in Lisp syntax instead of shell syntax. -- cgit v1.2.3