From a3443505bc1f80a5264d31c79bd6120e10da815c Mon Sep 17 00:00:00 2001 From: Michi Henning Date: Fri, 25 Aug 2006 07:58:01 +0000 Subject: Bug 1325. --- cpp/src/FreezeScript/DumpDB.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/src/FreezeScript/DumpDB.cpp') 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. -- cgit v1.2.3