From: Aina Niemetz Date: Tue, 3 May 2022 17:35:39 +0000 (-0700) Subject: docs: Some fixes in options docs. (#8710) X-Git-Tag: cvc5-1.0.1~182 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea74d802c27ce8c0bdd0564b9720e030333c5ec6;p=cvc5.git docs: Some fixes in options docs. (#8710) --- diff --git a/docs/options.rst b/docs/options.rst index 3f1a2b8d0..f49b599e0 100644 --- a/docs/options.rst +++ b/docs/options.rst @@ -19,15 +19,29 @@ Also, options can be set and inspected using the respective commands of the inpu :py:func:`getOptionNames() `, :py:func:`getOptionInfo() ` -Generally, all options are identified by a name, and they can additionally have one or more aliases (that can be used instead of their name anywhere) and a short name (a single letter). -Internally, options are strongly typed and must be either Boolean, (signed or unsigned) integers, floating-point numbers, strings, or an enumeration type. Values for options with a numeric type may be restricted to an interval. A few options have custom types (for example :ref:`err `) that require special treatment internally. +Generally, all options are identified by a name ````, and (optionally) +by a short name ```` (a single letter). +Additionally, they can have one or more aliases, which can be used instead of +````. + +**Internally**, options are strongly typed and must be either Boolean, (signed +or unsigned) integers, floating-point numbers, strings, or an enumeration type. +Values for options with a numeric type may be restricted to an interval. + +Some options have **custom types** (e.g., :ref:`err `) which +require special treatment internally. The usage of such options is documented as part of the documentation for the corresponding options. -On the command line, a Boolean option can be set to true by ``--`` or ``-``. -Most Boolean options can also be set to false by ``--no-``. -In the different APIs, this is done via ``setOption("", "true" | "false")``. -For all other types, values can be given on the command line using ``--=`` or ``-- `` and ``setOption("", "")`` in the different APIs. -The given value must be convertible to the appropriate type, in particular for numeric and enumeration types. +On the command line, a **Boolean** option can be set to ``true`` via +``--`` or ``-``. +Most Boolean options can also be set to ``false`` via ``--no-``. +In cvc5's APIs, this is done via ``setOption("", "true" | "false")``. + +For **all other types**, values are given on the command line using +``--=`` or ``-- ``, +and ``setOption("", "")`` in the APIs. +The given value must be convertible to the appropriate type, in particular for +numeric and enumeration types. Below is an exhaustive list of options supported by cvc5.