diff options
author | Michi Henning <michi@zeroc.com> | 2006-08-25 07:58:01 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2006-08-25 07:58:01 +0000 |
commit | a3443505bc1f80a5264d31c79bd6120e10da815c (patch) | |
tree | d850eedf58d7a5a50a0314d9aa96eb0cd2cf2c50 /cpp/src/FreezeScript/transformdb.cpp | |
parent | use zero-copy API for primitive sequence types (diff) | |
download | ice-a3443505bc1f80a5264d31c79bd6120e10da815c.tar.bz2 ice-a3443505bc1f80a5264d31c79bd6120e10da815c.tar.xz ice-a3443505bc1f80a5264d31c79bd6120e10da815c.zip |
Bug 1325.
Diffstat (limited to 'cpp/src/FreezeScript/transformdb.cpp')
-rw-r--r-- | cpp/src/FreezeScript/transformdb.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/FreezeScript/transformdb.cpp b/cpp/src/FreezeScript/transformdb.cpp index a3f6468529f..0464449f096 100644 --- a/cpp/src/FreezeScript/transformdb.cpp +++ b/cpp/src/FreezeScript/transformdb.cpp @@ -244,12 +244,12 @@ run(int argc, char** argv, const Ice::CommunicatorPtr& communicator) return EXIT_FAILURE; } - if(opts.isSet("h") || opts.isSet("help")) + if(opts.isSet("help")) { 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; @@ -272,7 +272,7 @@ run(int argc, char** argv, const Ice::CommunicatorPtr& communicator) newCppArgs += " -U" + *i; } } - debug = opts.isSet("d") || opts.isSet("debug"); + debug = opts.isSet("debug"); // No need to set --ice here, it is always true. |