[llvm-commits] CVS: llvm/docs/CommandLine.html
Misha Brukman
brukman at cs.uiuc.edu
Tue May 10 15:05:38 PDT 2005
Changes in directory llvm/docs:
CommandLine.html updated: 1.32 -> 1.33
---
Log message:
Consistently surround `cl::' code structures with <b> and <tt> to make them
stand out as code
---
Diffs of the changes: (+15 -13)
CommandLine.html | 28 +++++++++++++++-------------
1 files changed, 15 insertions(+), 13 deletions(-)
Index: llvm/docs/CommandLine.html
diff -u llvm/docs/CommandLine.html:1.32 llvm/docs/CommandLine.html:1.33
--- llvm/docs/CommandLine.html:1.32 Thu Mar 10 18:00:33 2005
+++ llvm/docs/CommandLine.html Tue May 10 17:05:27 2005
@@ -1284,27 +1284,29 @@
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
+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>
+options, that have the <b><tt><a href="#cl::Prefix">cl::Prefix</a></tt></b>
+modifier added to allow the CommandLine library to recognize them. Note that
+<b><tt><a href="#cl::Prefix">cl::Prefix</a></tt></b> options must not have the
+<b><tt><a href="#cl::ValueDisallowed">cl::ValueDisallowed</a></tt></b> modifier
+specified.</li>
<li><a name="cl::Grouping">The <b><tt>cl::Grouping</tt></b></a> modifier is used
to implement unix style tools (like <tt>ls</tt>) that have lots of single letter
arguments, but only require a single dash. For example, the '<tt>ls -labF</tt>'
command actually enables four different options, all of which are single
-letters. Note that <a href="#cl::Grouping">cl::Grouping</a> options cannot have
-values.</li>
+letters. Note that <b><tt><a href="#cl::Grouping">cl::Grouping</a></tt></b>
+options cannot have values.</li>
</ul>
-<p>The CommandLine library does not restrict how you use the <a
-href="#cl::Prefix">cl::Prefix</a> or <a href="#cl::Grouping">cl::Grouping</a>
-modifiers, but it is possible to specify ambiguous argument settings. Thus, it
-is possible to have multiple letter options that are prefix or grouping options,
-and they will still work as designed.</p>
+<p>The CommandLine library does not restrict how you use the <b><tt><a
+href="#cl::Prefix">cl::Prefix</a></tt></b> or <b><tt><a
+href="#cl::Grouping">cl::Grouping</a></tt></b> modifiers, but it is possible to
+specify ambiguous argument settings. Thus, it is possible to have multiple
+letter options that are prefix or grouping options, and they will still work as
+designed.</p>
<p>To do this, the CommandLine library uses a greedy algorithm to parse the
input option into (potentially multiple) prefix and grouping options. The
@@ -1812,7 +1814,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: 2005/03/11 00:00:33 $
+ Last modified: $Date: 2005/05/10 22:05:27 $
</address>
</body>
More information about the llvm-commits
mailing list