1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

docs/CommandLine.html: "ize.

llvm-svn: 129267
This commit is contained in:
NAKAMURA Takumi 2011-04-11 03:27:31 +00:00
parent 12f5828e1e
commit 522ce4a448

View File

@ -231,11 +231,11 @@ represented like this:</p>
<a href="#cl::opt">cl::opt</a>&lt;string&gt; OutputFilename("<i>o</i>", <a href="#cl::desc">cl::desc</a>("<i>Specify output filename</i>"), <a href="#cl::value_desc">cl::value_desc</a>("<i>filename</i>"));
</pre></div>
<p>This declares a global variable "<tt>OutputFilename</tt>" that is used to
capture the result of the "<tt>o</tt>" argument (first parameter). We specify
that this is a simple scalar option by using the "<tt><a
href="#cl::opt">cl::opt</a></tt>" template (as opposed to the <a
href="#list">"<tt>cl::list</tt> template</a>), and tell the CommandLine library
<p>This declares a global variable &quot;<tt>OutputFilename</tt>&quot; that is used to
capture the result of the &quot;<tt>o</tt>&quot; argument (first parameter). We specify
that this is a simple scalar option by using the &quot;<tt><a
href="#cl::opt">cl::opt</a></tt>&quot; template (as opposed to the <a
href="#list">&quot;<tt>cl::list</tt> template</a>), and tell the CommandLine library
that the data type that we are parsing is a string.</p>
<p>The second and third parameters (which are optional) are used to specify what