diff options
Diffstat (limited to 'cpp/src/slice2cpp/Main.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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"); |