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/IceGrid/Client.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/IceGrid/Client.cpp')
-rw-r--r-- | cpp/src/IceGrid/Client.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/IceGrid/Client.cpp b/cpp/src/IceGrid/Client.cpp index 1b9616ee54c..fe44b4b1949 100644 --- a/cpp/src/IceGrid/Client.cpp +++ b/cpp/src/IceGrid/Client.cpp @@ -81,18 +81,18 @@ Client::run(int argc, char* argv[]) return EXIT_FAILURE; } - if(opts.isSet("h") || opts.isSet("help")) + if(opts.isSet("help")) { usage(); return EXIT_SUCCESS; } - if(opts.isSet("v") || opts.isSet("version")) + if(opts.isSet("version")) { cout << ICE_STRING_VERSION << endl; return EXIT_SUCCESS; } - if(opts.isSet("s") || opts.isSet("server")) + if(opts.isSet("server")) { ObjectAdapterPtr adapter = communicator()->createObjectAdapterWithEndpoints("FileParser", "tcp -h localhost"); adapter->activate(); @@ -136,7 +136,7 @@ Client::run(int argc, char* argv[]) commands += *i + ";"; } } - debug = opts.isSet("d") || opts.isSet("debug"); + debug = opts.isSet("debug"); if(!args.empty() && !commands.empty()) { |