aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-db
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-17 02:49:08 +0000
committerChris Lattner <sabre@nondot.org>2004-10-17 02:49:08 +0000
commita78a9027f5300f29155cd5614b933142fb0f7397 (patch)
treeda70c943bb9f1782a13a9b95244eec84d1dd9947 /tools/llvm-db
parent7ff5a32a482e6c0c69ad2b49e2b24ea3e2019ad6 (diff)
Reid added --version to the CommandLine lib. Don't conflict with it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17076 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-db')
-rw-r--r--tools/llvm-db/llvm-db.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/llvm-db/llvm-db.cpp b/tools/llvm-db/llvm-db.cpp
index 23cbca2ef4..2e8dc83c95 100644
--- a/tools/llvm-db/llvm-db.cpp
+++ b/tools/llvm-db/llvm-db.cpp
@@ -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())