diff --git a/doc/aria2c.1.asciidoc b/doc/aria2c.1.asciidoc index 7862eecc..12b4003f 100644 --- a/doc/aria2c.1.asciidoc +++ b/doc/aria2c.1.asciidoc @@ -2850,7 +2850,14 @@ Description This method changes global options dynamically. 'options' is of type struct and the available options are ones listed in -*<<_input_file, Input File>>* subsection and following options: +*<<_input_file, Input File>>* subsection +(except for following 5 options: +*<>*, +*<>*, +*<>*, +*<>*, +*<>* +). In addition to them, following options are also available: * *<>* * *<>* diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index 42b62678..92342a4d 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -582,7 +582,6 @@ OptionHandlerFactory::createOptionHandlers() op->addTag(TAG_ADVANCED); op->addTag(TAG_RPC); op->setInitialOption(true); - op->setChangeGlobalOption(true); handlers.push_back(op); } { @@ -735,7 +734,6 @@ OptionHandlerFactory::createOptionHandlers() op->addTag(TAG_HTTP); op->addTag(TAG_CHECKSUM); op->setInitialOption(true); - op->setChangeGlobalOption(true); handlers.push_back(op); } #endif // ENABLE_MESSAGE_DIGEST @@ -826,7 +824,6 @@ OptionHandlerFactory::createOptionHandlers() op->addTag(TAG_HTTP); op->addTag(TAG_FILE); op->setInitialOption(true); - op->setChangeGlobalOption(true); handlers.push_back(op); } { @@ -1418,7 +1415,6 @@ OptionHandlerFactory::createOptionHandlers() op->addTag(TAG_BITTORRENT); op->addTag(TAG_METALINK); op->setInitialOption(true); - op->setChangeGlobalOption(true); handlers.push_back(op); } { @@ -1800,7 +1796,6 @@ OptionHandlerFactory::createOptionHandlers() op->addTag(TAG_BITTORRENT); op->setInitialOption(true); op->setCumulative(true); - op->setChangeGlobalOption(true); handlers.push_back(op); } {