mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Reid added --version to the CommandLine lib. Don't conflict with it.
llvm-svn: 17076
This commit is contained in:
parent
dc55caa720
commit
744915c985
@ -41,7 +41,6 @@ namespace {
|
||||
cl::value_desc("directory"));
|
||||
|
||||
// Command line options specific to the llvm-db debugger driver
|
||||
cl::opt<bool> Version("version", cl::desc("Print version number and quit"));
|
||||
cl::opt<bool> Quiet("quiet", cl::desc("Do not print introductory messages"));
|
||||
cl::alias QA1("silent", cl::desc("Alias for -quiet"), cl::aliasopt(Quiet));
|
||||
cl::alias QA2("q", cl::desc("Alias for -quiet"), cl::aliasopt(Quiet));
|
||||
@ -55,10 +54,8 @@ int main(int argc, char **argv, char * const *envp) {
|
||||
" llvm source-level debugger\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
||||
if (Version || !Quiet) {
|
||||
if (!Quiet)
|
||||
std::cout << "llvm-db: The LLVM source-level debugger\n";
|
||||
if (Version) return 1;
|
||||
}
|
||||
|
||||
// Merge Inputfile and InputArgs into the InputArgs list...
|
||||
if (!InputFile.empty() && InputArgs.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user