summaryrefslogtreecommitdiff
path: root/cpp/src/FreezeScript/DumpDB.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/FreezeScript/DumpDB.cpp')
-rw-r--r--cpp/src/FreezeScript/DumpDB.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/FreezeScript/DumpDB.cpp b/cpp/src/FreezeScript/DumpDB.cpp
index 2076bb05676..c779b6c2b0f 100644
--- a/cpp/src/FreezeScript/DumpDB.cpp
+++ b/cpp/src/FreezeScript/DumpDB.cpp
@@ -145,12 +145,12 @@ run(int argc, char** argv, const Ice::CommunicatorPtr& communicator)
return EXIT_FAILURE;
}
- if(opts.isSet("h") || opts.isSet("help"))
+ if(opts.isSet("h"))
{
usage(argv[0]);
return EXIT_SUCCESS;
}
- if(opts.isSet("v") || opts.isSet("version"))
+ if(opts.isSet("version"))
{
cout << ICE_STRING_VERSION << endl;
return EXIT_SUCCESS;
@@ -179,7 +179,7 @@ run(int argc, char** argv, const Ice::CommunicatorPtr& communicator)
cppArgs += " -I" + *i;
}
}
- debug = opts.isSet("d") || opts.isSet("debug");
+ debug = opts.isSet("debug");
// No need to set --ice option here -- it is always true.