summaryrefslogtreecommitdiff
path: root/cpp/src/slice2docbook/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/slice2docbook/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/slice2docbook/Main.cpp')
-rw-r--r--cpp/src/slice2docbook/Main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2docbook/Main.cpp b/cpp/src/slice2docbook/Main.cpp
index 228ed36ff16..3d11ac9684c 100644
--- a/cpp/src/slice2docbook/Main.cpp
+++ b/cpp/src/slice2docbook/Main.cpp
@@ -82,12 +82,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;
@@ -117,12 +117,12 @@ main(int argc, char* argv[])
}
}
preprocess = opts.isSet("E");
- standAlone = opts.isSet("s") || opts.isSet("stand-alone");
+ standAlone = opts.isSet("stand-alone");
noGlobals = opts.isSet("no-globals");
chapter = opts.isSet("chapter");
noIndex = opts.isSet("noindex");
sortFields = opts.isSet("sort-fields");
- debug = opts.isSet("d") || opts.isSet("debug");
+ debug = opts.isSet("debug");
ice = opts.isSet("ice");
caseSensitive = opts.isSet("case-sensitive");