summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cppe/Main.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2006-08-25 07:58:01 +0000
committerMichi Henning <michi@zeroc.com>2006-08-25 07:58:01 +0000
commita3443505bc1f80a5264d31c79bd6120e10da815c (patch)
treed850eedf58d7a5a50a0314d9aa96eb0cd2cf2c50 /cpp/src/slice2cppe/Main.cpp
parentuse zero-copy API for primitive sequence types (diff)
downloadice-a3443505bc1f80a5264d31c79bd6120e10da815c.tar.bz2
ice-a3443505bc1f80a5264d31c79bd6120e10da815c.tar.xz
ice-a3443505bc1f80a5264d31c79bd6120e10da815c.zip
Bug 1325.
Diffstat (limited to 'cpp/src/slice2cppe/Main.cpp')
-rw-r--r--cpp/src/slice2cppe/Main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2cppe/Main.cpp b/cpp/src/slice2cppe/Main.cpp
index 3d0f7a69850..895b201ad9d 100644
--- a/cpp/src/slice2cppe/Main.cpp
+++ b/cpp/src/slice2cppe/Main.cpp
@@ -87,12 +87,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 << ICEE_STRING_VERSION << endl;
return EXIT_SUCCESS;
@@ -142,7 +142,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");
caseSensitive = opts.isSet("case-sensitive");