diff options
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()) { |