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/slice2cpp/Main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/src/slice2cpp/Main.cpp') diff --git a/cpp/src/slice2cpp/Main.cpp b/cpp/src/slice2cpp/Main.cpp index 645bce922dd..fdc7e5f89d7 100644 --- a/cpp/src/slice2cpp/Main.cpp +++ b/cpp/src/slice2cpp/Main.cpp @@ -93,12 +93,12 @@ main(int argc, char* argv[]) 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; @@ -148,7 +148,7 @@ main(int argc, char* argv[]) } impl = opts.isSet("impl"); depend = opts.isSet("depend"); - debug = opts.isSet("d") || opts.isSet("debug"); + debug = opts.isSet("debug"); ice = opts.isSet("ice"); checksum = opts.isSet("checksum"); stream = opts.isSet("stream"); -- cgit v1.2.3