summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Main.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-10-04 03:14:06 +0000
committerMarc Laukien <marc@zeroc.com>2001-10-04 03:14:06 +0000
commite0c538afdcfbc477c3e6cee5038b1b24eb3c1e50 (patch)
tree32989fd966e24301e69dce40c5b58805474d6090 /cpp/src/slice2cpp/Main.cpp
parentfixes (diff)
downloadice-e0c538afdcfbc477c3e6cee5038b1b24eb3c1e50.tar.bz2
ice-e0c538afdcfbc477c3e6cee5038b1b24eb3c1e50.tar.xz
ice-e0c538afdcfbc477c3e6cee5038b1b24eb3c1e50.zip
active connection management
Diffstat (limited to 'cpp/src/slice2cpp/Main.cpp')
-rw-r--r--cpp/src/slice2cpp/Main.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/cpp/src/slice2cpp/Main.cpp b/cpp/src/slice2cpp/Main.cpp
index d49783f3788..b277edeadfa 100644
--- a/cpp/src/slice2cpp/Main.cpp
+++ b/cpp/src/slice2cpp/Main.cpp
@@ -20,15 +20,15 @@ usage(const char* n)
cerr << "Usage: " << n << " [options] slice-files...\n";
cerr <<
"Options:\n"
- "-h, --help Show this message.\n"
- "-v, --version Display the Ice version.\n"
- "-DNAME Define NAME as 1.\n"
- "-DNAME=DEF Define NAME as DEF.\n"
- "-UNAME Remove any definition for NAME.\n"
- "-IDIR Put DIR in the include file search path.\n"
+ "-h, --help Show this message.\n"
+ "-v, --version Display the Ice version.\n"
+ "-DNAME Define NAME as 1.\n"
+ "-DNAME=DEF Define NAME as DEF.\n"
+ "-UNAME Remove any definition for NAME.\n"
+ "-IDIR Put DIR in the include file search path.\n"
"--include-dir DIR Use DIR as the header include directory.\n"
"--dll-export SYMBOL Use SYMBOL for DLL exports.\n"
- "-d, --debug Print debug messages.\n"
+ "-d, --debug Print debug messages.\n"
;
}
@@ -94,11 +94,11 @@ main(int argc, char* argv[])
else if (strcmp(argv[idx], "--include-dir") == 0)
{
if (idx + 1 >= argc)
- {
+ {
cerr << argv[0] << ": argument expected for`" << argv[idx] << "'" << endl;
usage(argv[0]);
return EXIT_FAILURE;
- }
+ }
include = argv[idx + 1];
for (int i = idx ; i + 2 < argc ; ++i)
@@ -110,11 +110,11 @@ main(int argc, char* argv[])
else if (strcmp(argv[idx], "--dll-export") == 0)
{
if (idx + 1 >= argc)
- {
+ {
cerr << argv[0] << ": argument expected for`" << argv[idx] << "'" << endl;
usage(argv[0]);
return EXIT_FAILURE;
- }
+ }
dllExport = argv[idx + 1];
for (int i = idx ; i + 2 < argc ; ++i)