From 2ef6b34e60588f98badfe11f866fc0664e124bf8 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 22 Oct 2011 23:08:40 +0900 Subject: Made --download-result, --save-session, --server-stat-of and --save-cookies option available in aria2.changeGlobalOption. --- src/OptionHandlerFactory.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/OptionHandlerFactory.cc') 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); } { -- cgit