summaryrefslogtreecommitdiff
path: root/src/OptionHandlerFactory.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-04-02 00:12:24 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-04-02 00:12:24 +0900
commit19b5b7e214a3d29e1579af4504ba5c90e1dc3e36 (patch)
tree381d598d52794ef948a6144607695592bf62a6d2 /src/OptionHandlerFactory.cc
parent7d65d38807fac743136f5b979763a39bddb3653d (diff)
Remove deprecated options: --enable-direct-io and --metalink-servers
Diffstat (limited to 'src/OptionHandlerFactory.cc')
-rw-r--r--src/OptionHandlerFactory.cc26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc
index e3863170..ea88e8f3 100644
--- a/src/OptionHandlerFactory.cc
+++ b/src/OptionHandlerFactory.cc
@@ -303,18 +303,6 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
handlers.push_back(op);
}
#endif // ENABLE_ASYNC_DNS
- {
- // TODO Deprecated
- OptionHandler* op(new DeprecatedOptionHandler(new BooleanOptionHandler
- (PREF_ENABLE_DIRECT_IO,
- TEXT_ENABLE_DIRECT_IO,
- NO_DEFAULT_VALUE,
- OptionHandler::OPT_ARG)));
- op->addTag(TAG_DEPRECATED);
- op->addTag(TAG_ADVANCED);
- op->addTag(TAG_FILE);
- handlers.push_back(op);
- }
#if defined HAVE_MMAP || defined __MINGW32__
{
OptionHandler* op(new BooleanOptionHandler
@@ -2221,20 +2209,6 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
handlers.push_back(op);
}
{
- OptionHandler* op
- (new DeprecatedOptionHandler(new NumberOptionHandler
- (PREF_METALINK_SERVERS,
- TEXT_METALINK_SERVERS,
- NO_DEFAULT_VALUE,
- 1, -1,
- 'C'),
- splitHandler));
- op->addTag(TAG_DEPRECATED);
- op->addTag(TAG_METALINK);
- op->setInitialOption(true);
- handlers.push_back(op);
- }
- {
OptionHandler* op(new DefaultOptionHandler
(PREF_METALINK_VERSION,
TEXT_METALINK_VERSION));