From: Chris Lattner Date: Mon, 22 Aug 2005 16:11:46 +0000 (+0000) Subject: Make the example a bit easier to understand, suggested by Jim. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=730e15eb743ceb9ed0b7555834206624d04b34a2;p=oota-llvm.git 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 --- diff --git a/docs/CommandLine.html b/docs/CommandLine.html index 83db04d6ed4..02a5707eec7 100644 --- a/docs/CommandLine.html +++ b/docs/CommandLine.html @@ -1714,7 +1714,7 @@ our example, we implement parse as:

while (1) { switch (*End++) { - case 0: return false; // No error + case 0: break; // No error case 'i': // Ignore the 'i' in KiB if people use that case 'b': case 'B': // Ignore B suffix break; @@ -1728,6 +1728,7 @@ our example, we implement parse as:

return O.error(": '" + Arg + "' value invalid for file size argument!"); } } + return false; }