summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2018-03-21 15:48:57 -0700
committerGitHub <noreply@github.com>2018-03-21 15:48:57 -0700
commitbdba2bf65eb2f68daa1a5e488c4e50f5dac1b312 (patch)
tree3f97efe21f089d3abb5d9a2b53c0c7ee63ba06bb /doc
parent966960b424aa5901a03abbfaa1bcdac6e3ed90dc (diff)
Refactor mkoptions (#1631)
This commit refactors code generation for options. It uses a new configuration format for defining options (*.toml) and a new Python script mkoptions.py to generate the source code and option documentation. The option behavior did not change for most of the options, except that for bool --enable-/--disable- long options enable/disable was removed. E.g. --enable-miplib-trick and --disable-miplib-trick got changed to --miplib-trick and --no-miplib-trick. This commit fixes also an issues with set-option/get-option via the SMT2 interface. Before long options were only accessible if the name included the =ARG part.
Diffstat (limited to 'doc')
-rw-r--r--doc/SmtEngine.3cvc_template.in4
-rw-r--r--doc/cvc4.1_template.in4
-rw-r--r--doc/libcvc4.3.in (renamed from doc/libcvc4.3_template.in)0
-rw-r--r--doc/options.3cvc_template.in4
4 files changed, 6 insertions, 6 deletions
diff --git a/doc/SmtEngine.3cvc_template.in b/doc/SmtEngine.3cvc_template.in
index 0c558d8b7..b240dd8d2 100644
--- a/doc/SmtEngine.3cvc_template.in
+++ b/doc/SmtEngine.3cvc_template.in
@@ -24,9 +24,9 @@ use the following option keys.
.RS
.TP 10
.I "COMMON OPTIONS"
-${common_manpage_smt_documentation}
+${man_common_smt}$
-${remaining_manpage_smt_documentation}
+${man_others_smt}$
.PD
.RE
diff --git a/doc/cvc4.1_template.in b/doc/cvc4.1_template.in
index ddf9bac09..a0535553b 100644
--- a/doc/cvc4.1_template.in
+++ b/doc/cvc4.1_template.in
@@ -48,9 +48,9 @@ is connected to a terminal, interactive mode is assumed.
.IP "Each option marked with [*] has a \-\-no\-OPTIONNAME variant, which reverses the sense of the option."
-${common_manpage_documentation}
+${man_common}$
-${remaining_manpage_documentation}
+${man_others}$
.IP "Each option marked with [*] has a \-\-no\-OPTIONNAME variant, which reverses the sense of the option."
diff --git a/doc/libcvc4.3_template.in b/doc/libcvc4.3.in
index f85a909dd..f85a909dd 100644
--- a/doc/libcvc4.3_template.in
+++ b/doc/libcvc4.3.in
diff --git a/doc/options.3cvc_template.in b/doc/options.3cvc_template.in
index d239b66f3..e72363b62 100644
--- a/doc/options.3cvc_template.in
+++ b/doc/options.3cvc_template.in
@@ -12,9 +12,9 @@ options \- the options infrastructure
.RS
.TP 10
.I "COMMON OPTIONS"
-${common_manpage_internals_documentation}
+${man_common_internals}$
-${remaining_manpage_internals_documentation}
+${man_others_internals}$
.PD
.RE
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback