Skip to content

Commit 646cc20

Browse files
danieljamesvprus
authored andcommitted
Fix the documentation build
1 parent 9bf9740 commit 646cc20

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

doc/overview.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -585,12 +585,12 @@ desc.add_options()
585585
accept floating point numbers such as "51.1", "-52.1", "53.1234567890" (as
586586
a double), "54", "55.", ".56", "57.1e5", "58.1E5", ".591e5", "60.1e-5",
587587
"-61.1e5", "-62.1e-5", etc. Unfortunately, hex, octal, and binary
588-
representations that are available in C++ literals are not supported by
589-
lexical_cast, and thus will not work with program_options.<para>
588+
representations that are available in C++ literals are not supported by
589+
lexical_cast, and thus will not work with program_options.</para>
590590

591591
<para>Booleans a special in that there are multiple ways to come at them.
592592
Similar to another value type, it can be specified as <code>("my-option",
593-
value<bool>())</code>, and then set as:</para>
593+
value&lt;bool&gt;())</code>, and then set as:</para>
594594
<screen>
595595
example --my-option=true
596596
</screen>

doc/program_options.ent

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@
4444
<!ENTITY basic_option
4545
"<classname alt='boost::program_options::basic_option'>basic_option</classname>">
4646

47+
<!ENTITY bool_switch
48+
"<functionname alt='boost::program_options::bool_switch'>bool_switch</functionname>">

0 commit comments

Comments
 (0)