Browse Source

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

Tatsuhiro Tsujikawa 14 years ago
parent
commit
dfd214b3db
2 changed files with 8 additions and 6 deletions
  1. 8 1
      doc/aria2c.1.asciidoc
  2. 0 5
      src/OptionHandlerFactory.cc

+ 8 - 1
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:
+*<<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>>*

+ 0 - 5
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);
   }
   {