Disallowed checksum, index-out, out, pause and select-file option in

aria2.changeGlobalOption.
pull/2/head
Tatsuhiro Tsujikawa 2011-10-25 21:56:16 +09:00
parent 12659c74a8
commit dfd214b3db
2 changed files with 8 additions and 6 deletions

View File

@ -2850,7 +2850,14 @@ Description
This method changes global options dynamically. 'options' is of type This method changes global options dynamically. 'options' is of type
struct and the available options are ones listed in 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:
*<<aria2_optref_checksum, checksum>>*,
*<<aria2_optref_index_out, index-out>>*,
*<<aria2_optref_out, out>>*,
*<<aria2_optref_pause, pause>>*,
*<<aria2_optref_select_file, select-file>>*
). In addition to them, following options are also available:
* *<<aria2_optref_download_result, download-result>>* * *<<aria2_optref_download_result, download-result>>*
* *<<aria2_optref_log, log>>* * *<<aria2_optref_log, log>>*

View File

@ -582,7 +582,6 @@ OptionHandlerFactory::createOptionHandlers()
op->addTag(TAG_ADVANCED); op->addTag(TAG_ADVANCED);
op->addTag(TAG_RPC); op->addTag(TAG_RPC);
op->setInitialOption(true); op->setInitialOption(true);
op->setChangeGlobalOption(true);
handlers.push_back(op); handlers.push_back(op);
} }
{ {
@ -735,7 +734,6 @@ OptionHandlerFactory::createOptionHandlers()
op->addTag(TAG_HTTP); op->addTag(TAG_HTTP);
op->addTag(TAG_CHECKSUM); op->addTag(TAG_CHECKSUM);
op->setInitialOption(true); op->setInitialOption(true);
op->setChangeGlobalOption(true);
handlers.push_back(op); handlers.push_back(op);
} }
#endif // ENABLE_MESSAGE_DIGEST #endif // ENABLE_MESSAGE_DIGEST
@ -826,7 +824,6 @@ OptionHandlerFactory::createOptionHandlers()
op->addTag(TAG_HTTP); op->addTag(TAG_HTTP);
op->addTag(TAG_FILE); op->addTag(TAG_FILE);
op->setInitialOption(true); op->setInitialOption(true);
op->setChangeGlobalOption(true);
handlers.push_back(op); handlers.push_back(op);
} }
{ {
@ -1418,7 +1415,6 @@ OptionHandlerFactory::createOptionHandlers()
op->addTag(TAG_BITTORRENT); op->addTag(TAG_BITTORRENT);
op->addTag(TAG_METALINK); op->addTag(TAG_METALINK);
op->setInitialOption(true); op->setInitialOption(true);
op->setChangeGlobalOption(true);
handlers.push_back(op); handlers.push_back(op);
} }
{ {
@ -1800,7 +1796,6 @@ OptionHandlerFactory::createOptionHandlers()
op->addTag(TAG_BITTORRENT); op->addTag(TAG_BITTORRENT);
op->setInitialOption(true); op->setInitialOption(true);
op->setCumulative(true); op->setCumulative(true);
op->setChangeGlobalOption(true);
handlers.push_back(op); handlers.push_back(op);
} }
{ {