summaryrefslogtreecommitdiff
path: root/cpp/src/slice2html/Main.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2006-11-24 04:15:47 +0000
committerMichi Henning <michi@zeroc.com>2006-11-24 04:15:47 +0000
commit4cff4817c5f6a0e9885058018e0bff137f7f600f (patch)
tree818dd4abc958985ac8aea8a9dc2834473a7adf2a /cpp/src/slice2html/Main.cpp
parent*** empty log message *** (diff)
downloadice-4cff4817c5f6a0e9885058018e0bff137f7f600f.tar.bz2
ice-4cff4817c5f6a0e9885058018e0bff137f7f600f.tar.xz
ice-4cff4817c5f6a0e9885058018e0bff137f7f600f.zip
*** empty log message ***
Diffstat (limited to 'cpp/src/slice2html/Main.cpp')
-rw-r--r--cpp/src/slice2html/Main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2html/Main.cpp b/cpp/src/slice2html/Main.cpp
index a5f9cb83be5..d26c403167c 100644
--- a/cpp/src/slice2html/Main.cpp
+++ b/cpp/src/slice2html/Main.cpp
@@ -32,7 +32,7 @@ usage(const char* n)
"--output-dir DIR Create files in the directory DIR.\n"
"--header FILE Use the contents of FILE as the header.\n"
"--footer FILe Use the contents of FILE as the footer.\n"
- "--index NUM Generate subindex if it has more than NUM entries (-1 for no index).\n"
+ "--index NUM Generate subindex if it has at least NUM entries (0 for no index, default=1).\n"
"-d, --debug Print debug messages.\n"
"--ice Permit `Ice' prefix (for building Ice source code only).\n"
;
@@ -51,7 +51,7 @@ main(int argc, char* argv[])
opts.addOpt("", "output-dir", IceUtil::Options::NeedArg, ".");
opts.addOpt("", "header", IceUtil::Options::NeedArg);
opts.addOpt("", "footer", IceUtil::Options::NeedArg);
- opts.addOpt("", "index", IceUtil::Options::NeedArg);
+ opts.addOpt("", "index", IceUtil::Options::NeedArg, "1");
opts.addOpt("d", "debug");
opts.addOpt("", "ice");