summaryrefslogtreecommitdiff
path: root/docs/CommandLine.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-22 16:11:46 +0000
committerChris Lattner <sabre@nondot.org>2005-08-22 16:11:46 +0000
commit730e15eb743ceb9ed0b7555834206624d04b34a2 (patch)
tree7be02c41219c20dff37cd120830ccf26c94deb26 /docs/CommandLine.html
parentf7f22555053a8992b2f97db77a62458ff8a69d7f (diff)
downloadllvm-730e15eb743ceb9ed0b7555834206624d04b34a2.tar.gz
llvm-730e15eb743ceb9ed0b7555834206624d04b34a2.tar.bz2
llvm-730e15eb743ceb9ed0b7555834206624d04b34a2.tar.xz
Make the example a bit easier to understand, suggested by Jim.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22964 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandLine.html')
-rw-r--r--docs/CommandLine.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/CommandLine.html b/docs/CommandLine.html
index 83db04d6ed..02a5707eec 100644
--- a/docs/CommandLine.html
+++ b/docs/CommandLine.html
@@ -1714,7 +1714,7 @@ our example, we implement <tt>parse</tt> as:</p>
<b>while</b> (1) {
<b>switch</b> (*End++) {
- <b>case</b> 0: <b>return</b> false; <i>// No error</i>
+ <b>case</b> 0: break; <i>// No error</i>
<b>case</b> 'i': <i>// Ignore the 'i' in KiB if people use that</i>
<b>case</b> 'b': <b>case</b> 'B': <i>// Ignore B suffix</i>
<b>break</b>;
@@ -1728,6 +1728,7 @@ our example, we implement <tt>parse</tt> as:</p>
<b>return</b> O.error(": '" + Arg + "' value invalid for file size argument!");
}
}
+ <b>return</b> false;
}
</pre></div>