diff options
Diffstat (limited to 'support/lib/Support/CommandLine.cpp')
-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 a28b86f551..db2c3f373f 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! |