From bf3d95c5d1e160a645e76d32b0a1e53e19aa2d99 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 16 Mar 2016 22:11:51 +0900 Subject: [PATCH] Give advanced tag to optimize-concurrent-downloads option --- src/OptionHandlerFactory.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index 86a6f1a9..f2d3de87 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -416,16 +416,6 @@ std::vector OptionHandlerFactory::createOptionHandlers() op->setChangeGlobalOption(true); handlers.push_back(op); } - { - OptionHandler* op(new OptimizeConcurrentDownloadsOptionHandler - (PREF_OPTIMIZE_CONCURRENT_DOWNLOADS, - TEXT_OPTIMIZE_CONCURRENT_DOWNLOADS, - A2_V_FALSE, - OptionHandler::OPT_ARG)); - op->addTag(TAG_BASIC); - op->setChangeGlobalOption(true); - handlers.push_back(op); - } { OptionHandler* op(new NumberOptionHandler(PREF_MAX_CONNECTION_PER_SERVER, TEXT_MAX_CONNECTION_PER_SERVER, @@ -571,6 +561,16 @@ std::vector OptionHandlerFactory::createOptionHandlers() op->addTag(TAG_HOOK); handlers.push_back(op); } + { + OptionHandler* op(new OptimizeConcurrentDownloadsOptionHandler + (PREF_OPTIMIZE_CONCURRENT_DOWNLOADS, + TEXT_OPTIMIZE_CONCURRENT_DOWNLOADS, + A2_V_FALSE, + OptionHandler::OPT_ARG)); + op->addTag(TAG_ADVANCED); + op->setChangeGlobalOption(true); + handlers.push_back(op); + } { OptionHandler* op( new BooleanOptionHandler(PREF_PARAMETERIZED_URI, TEXT_PARAMETERIZED_URI,