mirror of
https://github.com/aria2/aria2.git
synced 2025-01-01 15:44:55 +00:00
Give advanced tag to optimize-concurrent-downloads option
This commit is contained in:
parent
db5af2cec3
commit
bf3d95c5d1
@ -416,16 +416,6 @@ std::vector<OptionHandler*> 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<OptionHandler*> 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,
|
||||
|
Loading…
Reference in New Issue
Block a user