summaryrefslogtreecommitdiff
path: root/src/OptionHandlerFactory.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-10-22 23:08:40 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-10-22 23:08:40 +0900
commit2ef6b34e60588f98badfe11f866fc0664e124bf8 (patch)
treea49479afb2a27ccb020cbe144713353be73cd758 /src/OptionHandlerFactory.cc
parent23a83deb4fa93c0e7c0482a10793a7be2a472239 (diff)
Made --download-result, --save-session, --server-stat-of and
--save-cookies option available in aria2.changeGlobalOption.
Diffstat (limited to 'src/OptionHandlerFactory.cc')
-rw-r--r--src/OptionHandlerFactory.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc
index 1ffd8e6a..6d1ab170 100644
--- a/src/OptionHandlerFactory.cc
+++ b/src/OptionHandlerFactory.cc
@@ -224,6 +224,7 @@ OptionHandlerFactory::createOptionHandlers()
A2_V_DEFAULT,
A2_V_FULL));
op->addTag(TAG_ADVANCED);
+ op->setChangeGlobalOption(true);
handlers.push_back(op);
}
#ifdef ENABLE_ASYNC_DNS
@@ -605,6 +606,7 @@ OptionHandlerFactory::createOptionHandlers()
NO_DEFAULT_VALUE,
PATH_TO_FILE));
op->addTag(TAG_ADVANCED);
+ op->setChangeGlobalOption(true);
handlers.push_back(op);
}
{
@@ -863,6 +865,7 @@ OptionHandlerFactory::createOptionHandlers()
PATH_TO_FILE));
op->addTag(TAG_FTP);
op->addTag(TAG_HTTP);
+ op->setChangeGlobalOption(true);
handlers.push_back(op);
}
{
@@ -1101,6 +1104,7 @@ OptionHandlerFactory::createOptionHandlers()
PATH_TO_FILE));
op->addTag(TAG_HTTP);
op->addTag(TAG_COOKIE);
+ op->setChangeGlobalOption(true);
handlers.push_back(op);
}
{