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:
parent
12f5828e1e
commit
522ce4a448
@ -231,11 +231,11 @@ represented like this:</p>
|
||||
<a href="#cl::opt">cl::opt</a><string> 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 "<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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user