docs/CommandLine.html: "ize.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129267 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2011-04-11 03:27:31 +00:00
parent 5d7a5a4f53
commit dd499c3dd2

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