diff options
author | Chris Lattner <sabre@nondot.org> | 2001-07-23 23:14:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-07-23 23:14:23 +0000 |
commit | 2233a07b686ead865b0bfeed5a50d178d05f9549 (patch) | |
tree | c66c930aad1e2971105039252f5a8baa5fac2e62 /support/lib/Support | |
parent | 03fe1bd149b21855098e9cc9f959c8e8ca80693c (diff) | |
download | external_llvm-2233a07b686ead865b0bfeed5a50d178d05f9549.zip external_llvm-2233a07b686ead865b0bfeed5a50d178d05f9549.tar.gz external_llvm-2233a07b686ead865b0bfeed5a50d178d05f9549.tar.bz2 |
Doh! Wrong Optional flag. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'support/lib/Support')
-rw-r--r-- | support/lib/Support/CommandLine.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/support/lib/Support/CommandLine.cpp b/support/lib/Support/CommandLine.cpp index a28b86f..db2c3f3 100644 --- a/support/lib/Support/CommandLine.cpp +++ b/support/lib/Support/CommandLine.cpp @@ -94,8 +94,9 @@ void cl::ParseCommandLineOptions(int &argc, char **argv, continue; } break; - case Optional: break; - default: cerr << "Bad ValueMask flag! CommandLine usage error!\n"; abort(); + case ValueOptional: break; + default: cerr << "Bad ValueMask flag! CommandLine usage error:" + << Handler->getValueExpectedFlag() << endl; abort(); } // Run the handler now! |