diff options
Diffstat (limited to 'doc/html/program_options/tutorial.html')
-rw-r--r-- | doc/html/program_options/tutorial.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/program_options/tutorial.html b/doc/html/program_options/tutorial.html index 469ec80a91..7a5a443f1d 100644 --- a/doc/html/program_options/tutorial.html +++ b/doc/html/program_options/tutorial.html @@ -27,9 +27,9 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="program_options.tutorial"></a>Tutorial</h2></div></div></div> <div class="toc"><dl class="toc"> -<dt><span class="section"><a href="tutorial.html#idp435720656">Getting Started</a></span></dt> -<dt><span class="section"><a href="tutorial.html#idp435738800">Option Details</a></span></dt> -<dt><span class="section"><a href="tutorial.html#idp435765296">Multiple Sources</a></span></dt> +<dt><span class="section"><a href="tutorial.html#idp419562816">Getting Started</a></span></dt> +<dt><span class="section"><a href="tutorial.html#idp419580960">Option Details</a></span></dt> +<dt><span class="section"><a href="tutorial.html#idp419607760">Multiple Sources</a></span></dt> </dl></div> <p>In this section, we'll take a look at the most common usage scenarios of the program_options library, starting with the simplest one. The examples @@ -42,7 +42,7 @@ </p> <div class="section"> <div class="titlepage"><div><div><h3 class="title"> -<a name="idp435720656"></a>Getting Started</h3></div></div></div> +<a name="idp419562816"></a>Getting Started</h3></div></div></div> <p>The first example is the simplest possible: it only handles two options. Here's the source code (the full program is in "example/first.cpp"): @@ -113,7 +113,7 @@ Compression level was set to 10. </div> <div class="section"> <div class="titlepage"><div><div><h3 class="title"> -<a name="idp435738800"></a>Option Details</h3></div></div></div> +<a name="idp419580960"></a>Option Details</h3></div></div></div> <p>An option value, surely, can have other types than <code class="computeroutput">int</code>, and can have other interesting properties, which we'll discuss right now. The complete version of the code snipped below can be found in @@ -246,7 +246,7 @@ Optimization level is 4 </div> <div class="section"> <div class="titlepage"><div><div><h3 class="title"> -<a name="idp435765296"></a>Multiple Sources</h3></div></div></div> +<a name="idp419607760"></a>Multiple Sources</h3></div></div></div> <p>It's quite likely that specifying all options to our compiler on the command line will annoy users. What if a user installs a new library and wants to always pass an additional command line element? What if he has @@ -319,7 +319,7 @@ visible.add(generic).add(config); </p> <p>The parsing and storing of values follows the usual pattern, except that we additionally call <code class="computeroutput">parse_config_file</code>, and - call the <code class="computeroutput"><a class="link" href="../boost/program_options/store_idp682615248.html" title="Function store">store</a></code> function twice. But what + call the <code class="computeroutput"><a class="link" href="../boost/program_options/store_idp709315296.html" title="Function store">store</a></code> function twice. But what happens if the same value is specified both on the command line and in config file? Usually, the value stored first is preferred. This is what happens for the "--optimization" option. For "composing" options, like |