summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/Calc.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/IcePatch2/Calc.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/IcePatch2/Calc.cpp')
-rw-r--r--cpp/src/IcePatch2/Calc.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/IcePatch2/Calc.cpp b/cpp/src/IcePatch2/Calc.cpp
index dfe342c7018..a061a4e6526 100644
--- a/cpp/src/IcePatch2/Calc.cpp
+++ b/cpp/src/IcePatch2/Calc.cpp
@@ -141,18 +141,18 @@ 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;
}
- bool doCompress = opts.isSet("z") || opts.isSet("compress");
- bool dontCompress = opts.isSet("Z") || opts.isSet("no-compress");
+ bool doCompress = opts.isSet("compress");
+ bool dontCompress = opts.isSet("no-compress");
if(doCompress && dontCompress)
{
cerr << argv[0] << ": only one of -z and -Z are mutually exclusive" << endl;
@@ -167,8 +167,8 @@ main(int argc, char* argv[])
{
compress = 0;
}
- verbose = opts.isSet("V") || opts.isSet("verbose");
- caseInsensitive = opts.isSet("i") || opts.isSet("case-insensitive");
+ verbose = opts.isSet("verbose");
+ caseInsensitive = opts.isSet("case-insensitive");
if(args.empty())
{