diff options
Diffstat (limited to 'cpp/src/slice2py/Main.cpp')
-rw-r--r-- | cpp/src/slice2py/Main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2py/Main.cpp b/cpp/src/slice2py/Main.cpp index 921448ba32b..7ec3ed3bc66 100644 --- a/cpp/src/slice2py/Main.cpp +++ b/cpp/src/slice2py/Main.cpp @@ -424,12 +424,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; @@ -463,7 +463,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"); noPackage = opts.isSet("no-package"); |