summaryrefslogtreecommitdiff
path: root/src/OptionHandlerFactory.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-09-11 12:15:41 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-09-11 12:15:41 +0000
commitf82ffef4607f92407403a0854ba8f4efa4a528e5 (patch)
tree601a35cc5968fda4eae114574a54fb30ea2bcc49 /src/OptionHandlerFactory.cc
parent80edde0205f8065bca84ab7acee9f38c021864b1 (diff)
2010-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added short option -k for --min-split-size option and -x for --max-connection-per-server option. Raised maximum value of --max-connection-per-server up to 16. * src/OptionHandlerFactory.cc * src/usage_text.h
Diffstat (limited to 'src/OptionHandlerFactory.cc')
-rw-r--r--src/OptionHandlerFactory.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc
index 5c0b80e5..e7f34a13 100644
--- a/src/OptionHandlerFactory.cc
+++ b/src/OptionHandlerFactory.cc
@@ -350,7 +350,8 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
(PREF_MAX_CONNECTION_PER_SERVER,
TEXT_MAX_CONNECTION_PER_SERVER,
"1",
- 1, 4));
+ 1, 16,
+ 'x'));
op->addTag(TAG_ADVANCED);
handlers.push_back(op);
}
@@ -401,7 +402,8 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
(PREF_MIN_SPLIT_SIZE,
TEXT_MIN_SPLIT_SIZE,
"20M",
- 1024*1024, 1024*1024*1024));
+ 1024*1024, 1024*1024*1024,
+ 'k'));
op->addTag(TAG_ADVANCED);
op->addTag(TAG_FTP);
op->addTag(TAG_HTTP);