diff options
Diffstat (limited to 'cpp/src/slice2rb/Main.cpp')
-rw-r--r-- | cpp/src/slice2rb/Main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2rb/Main.cpp b/cpp/src/slice2rb/Main.cpp index a125e4b27d1..f5d33190fd7 100644 --- a/cpp/src/slice2rb/Main.cpp +++ b/cpp/src/slice2rb/Main.cpp @@ -90,12 +90,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; @@ -129,7 +129,7 @@ main(int argc, char* argv[]) { output = opts.optArg("output-dir"); } - debug = opts.isSet("d") || opts.isSet("debug"); + debug = opts.isSet("debug"); ice = opts.isSet("ice"); all = opts.isSet("all"); checksum = opts.isSet("checksum"); |