summaryrefslogtreecommitdiffstats
path: root/stap.1.in
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2010-04-08 17:15:49 -0400
committerFrank Ch. Eigler <fche@elastic.org>2010-04-08 17:17:47 -0400
commitdb135493669e5e2e1d0dc5c30c8d4a38bfd6653f (patch)
tree17e5dcfbecd418cca47b0417117d905e4e79669d /stap.1.in
parent0161aa7bab9847980aad1a368efcaa0594e91b24 (diff)
downloadsystemtap-steved-db135493669e5e2e1d0dc5c30c8d4a38bfd6653f.tar.gz
systemtap-steved-db135493669e5e2e1d0dc5c30c8d4a38bfd6653f.tar.xz
systemtap-steved-db135493669e5e2e1d0dc5c30c8d4a38bfd6653f.zip
PR11343: backward compatibility option/conditional
* main.cxx: Add "--compatible=VERSION" option. * session.h (compatible): Store it. * parse.cxx (eval_pp_conditional): Look at it as %( systemtap_v CMP VALUE ... %) * stap.1.in: Document it. * testsuite/parseko/preprocess17.stp, parseok/twenty.stp: Test it.
Diffstat (limited to 'stap.1.in')
-rw-r--r--stap.1.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/stap.1.in b/stap.1.in
index 01fb9aba..0fc052ff 100644
--- a/stap.1.in
+++ b/stap.1.in
@@ -249,6 +249,12 @@ output files exceed
.B \-\-skip\-badvars
Ignore out of context variables and substitute with literal 0.
+.TP
+.BI \-\-compatible VERSION
+Suppress recent script language or tapset changes which are incompatible
+with given older version of systemtap. This may be useful if a much older
+systemtap script fails to run.
+
.SH ARGUMENTS
Any additional arguments on the command line are passed to the script