Fix the documentation build

This commit is contained in:
Daniel James
2018-03-23 08:10:46 +00:00
committed by Vladimir Prus
parent 9bf97405dc
commit 646cc20a54
2 changed files with 5 additions and 3 deletions

View File

@@ -585,12 +585,12 @@ desc.add_options()
accept floating point numbers such as "51.1", "-52.1", "53.1234567890" (as
a double), "54", "55.", ".56", "57.1e5", "58.1E5", ".591e5", "60.1e-5",
"-61.1e5", "-62.1e-5", etc. Unfortunately, hex, octal, and binary
representations that are available in C++ literals are not supported by
lexical_cast, and thus will not work with program_options.<para>
representations that are available in C++ literals are not supported by
lexical_cast, and thus will not work with program_options.</para>
<para>Booleans a special in that there are multiple ways to come at them.
Similar to another value type, it can be specified as <code>("my-option",
value<bool>())</code>, and then set as:</para>
value&lt;bool&gt;())</code>, and then set as:</para>
<screen>
example --my-option=true
</screen>

View File

@@ -44,3 +44,5 @@
<!ENTITY basic_option
"<classname alt='boost::program_options::basic_option'>basic_option</classname>">
<!ENTITY bool_switch
"<functionname alt='boost::program_options::bool_switch'>bool_switch</functionname>">