Skip to content
Snippets Groups Projects
Commit 0e4818c9 authored by Chris Lattner's avatar Chris Lattner
Browse files

Reid added --version to the CommandLine lib. Don't conflict with it.

llvm-svn: 17076
parent f6666db0
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,6 @@ namespace { ...@@ -41,7 +41,6 @@ namespace {
cl::value_desc("directory")); cl::value_desc("directory"));
// Command line options specific to the llvm-db debugger driver // 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::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 QA1("silent", cl::desc("Alias for -quiet"), cl::aliasopt(Quiet));
cl::alias QA2("q", 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) { ...@@ -55,10 +54,8 @@ int main(int argc, char **argv, char * const *envp) {
" llvm source-level debugger\n"); " llvm source-level debugger\n");
sys::PrintStackTraceOnErrorSignal(); sys::PrintStackTraceOnErrorSignal();
if (Version || !Quiet) { if (!Quiet)
std::cout << "llvm-db: The LLVM source-level debugger\n"; std::cout << "llvm-db: The LLVM source-level debugger\n";
if (Version) return 1;
}
// Merge Inputfile and InputArgs into the InputArgs list... // Merge Inputfile and InputArgs into the InputArgs list...
if (!InputFile.empty() && InputArgs.empty()) if (!InputFile.empty() && InputArgs.empty())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment