mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
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:
parent
5d7a5a4f53
commit
dd499c3dd2
@ -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