[llvm-commits] CVS: llvm/docs/CommandLine.html
Reid Spencer
reid at x10sys.com
Tue Nov 23 22:13:52 PST 2004
Changes in directory llvm/docs:
CommandLine.html updated: 1.29 -> 1.30
---
Log message:
Implement and document prefix options with arbitrary values including an
= sign. This needed to support -DNAME=value options as pass-through in
llvmc.
---
Diffs of the changes: (+10 -8)
Index: llvm/docs/CommandLine.html
diff -u llvm/docs/CommandLine.html:1.29 llvm/docs/CommandLine.html:1.30
--- llvm/docs/CommandLine.html:1.29 Sun Nov 21 08:34:34 2004
+++ llvm/docs/CommandLine.html Wed Nov 24 00:13:42 2004
@@ -1276,13 +1276,15 @@
specifies that this option is used to capture "interpreter style" arguments. See <a href="#cl::ConsumeAfter">this section for more information</a>.</li>
<li><a name="cl::Prefix">The <b><tt>cl::Prefix</tt></b></a> modifier specifies
-that this option prefixes its value. With 'Prefix' options, there is no equal
-sign that separates the value from the option name specified. This is useful
-for processing odd arguments like '<tt>-lmalloc -L/usr/lib'</tt> in a linker
-tool. Here, the '<tt>l</tt>' and '<tt>L</tt>' options are normal string (list)
-options, that have the <a href="#cl::Prefix">cl::Prefix</a> modifier added to
-allow the CommandLine library to recognize them. Note that <a
-href="#cl::Prefix">cl::Prefix</a> options must not have the <a
+that this option prefixes its value. With 'Prefix' options, the equal sign does
+not separate the value from the option name specified. Instead, the value is
+everything after the prefix, including any equal sign if present. This is useful
+for processing odd arguments like <tt>-lmalloc</tt> and <tt>-L/usr/lib</tt> in a
+linker tool or <tt>-DNAME=value</tt> in a compiler tool. Here, the
+'<tt>l</tt>', '<tt>D</tt>' and '<tt>L</tt>' options are normal string (or list)
+options, that have the <a href="#cl::Prefix">cl::Prefix</a> modifier added to
+allow the CommandLine library to recognize them. Note that
+<a href="#cl::Prefix">cl::Prefix</a> options must not have the <a
href="#cl::ValueDisallowed">cl::ValueDisallowed</a> modifier specified.</li>
<li><a name="cl::Grouping">The <b><tt>cl::Grouping</tt></b></a> modifier is used
@@ -1806,7 +1808,7 @@
<a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
<a href="http://llvm.cs.uiuc.edu">LLVM Compiler Infrastructure</a><br>
- Last modified: $Date: 2004/11/21 14:34:34 $
+ Last modified: $Date: 2004/11/24 06:13:42 $
</address>
</body>
More information about the llvm-commits
mailing list