mirror of https://github.com/aria2/aria2
Disallowed checksum, index-out, out, pause and select-file option in
aria2.changeGlobalOption.pull/2/head
parent
12659c74a8
commit
dfd214b3db
|
@ -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:
|
||||
*<<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_log, log>>*
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue