diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-09-02 22:18:38 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-09-02 22:18:38 -0700 |
commit | acc53f437c82ed43f0211521659c7e01e1b371c9 (patch) | |
tree | 661f89b5a1b558b33882d53f07482ea5b3b24391 /txr.1 | |
parent | 1572c93478c55ff14738a4b6f1b38dc41878a816 (diff) | |
download | txr-acc53f437c82ed43f0211521659c7e01e1b371c9.tar.gz txr-acc53f437c82ed43f0211521659c7e01e1b371c9.tar.bz2 txr-acc53f437c82ed43f0211521659c7e01e1b371c9.zip |
* txr.1: Document -C option.
* txr.c (opt_compat): New global variable.
(help): Describe -C option.
(txr_main): Process -C, and set opt_compat.
Ensure -C does not clump.
* txr.h (opt_compat): Declared.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -191,6 +191,17 @@ Evaluates a TXR Lisp expression and prints its value. Can be specified more than once. The query-file argument becomes optional if -p is used at least once. +.IP "-C number" +Requests TXR to behave in a manner that is compatible with the specified +version of TXR. This makes a difference in situations when a release of +TXR breaks backward compatibility. If some version N+1 deliberately introduces +a change which is backward incompatible, then -C N can be used to request +the old behavior. The requested value of N can be too low, in which case TXR +will complain and exit with an unsuccessful termination status. This indicates +that TXR refuses to be compatible with such an old version. Users requiring +the behavior of that version will have to install an older version of TXR which +supports that behavior, or even that exact version. + .IP --help Prints usage summary on standard output, and terminates successfully. |