Przeglądaj źródła

2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Added --remove-control-file option to -i list options.
	* doc/aria2c.1.txt
	* doc/xmlrpc/aria2rpc
	* src/download_helper.cc
Tatsuhiro Tsujikawa 15 lat temu
rodzic
commit
90bc2ccffc
6 zmienionych plików z 30 dodań i 2 usunięć
  1. 7 0
      ChangeLog
  2. 11 0
      doc/aria2c.1
  3. 6 1
      doc/aria2c.1.html
  4. 1 0
      doc/aria2c.1.txt
  5. 3 0
      doc/xmlrpc/aria2rpc
  6. 2 1
      src/download_helper.cc

+ 7 - 0
ChangeLog

@@ -1,3 +1,10 @@
+2010-03-25  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Added --remove-control-file option to -i list options.
+	* doc/aria2c.1.txt
+	* doc/xmlrpc/aria2rpc
+	* src/download_helper.cc
+
 2010-03-25  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Added --remove-control-file option.  This option removes control

+ 11 - 0
doc/aria2c.1

@@ -2343,6 +2343,17 @@ parameterized\-uri
 realtime\-chunk\-checksum
 .RE
 .sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+remove\-control\-file
+.RE
+.sp
 These options have exactly same meaning of the ones in the command\-line options, but it just applies to the URIs it belongs to\&.
 .sp
 For example, the content of uri\&.txt is

+ 6 - 1
doc/aria2c.1.html

@@ -2781,6 +2781,11 @@ parameterized-uri
 realtime-chunk-checksum
 </p>
 </li>
+<li>
+<p>
+remove-control-file
+</p>
+</li>
 </ul></div>
 <div class="paragraph"><p>These options have exactly same meaning of the ones in the
 command-line options, but it just applies to the URIs it belongs to.</p></div>
@@ -4007,7 +4012,7 @@ files in the program, then also delete it here.</p></div>
 <div id="footnotes"><hr /></div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2010-03-25 23:41:17 JST
+Last updated 2010-03-25 23:48:28 JST
 </div>
 </div>
 </body>

+ 1 - 0
doc/aria2c.1.txt

@@ -1147,6 +1147,7 @@ of URIs. These optional lines must start with white space(s).
 * no-file-allocation-limit
 * parameterized-uri
 * realtime-chunk-checksum
+* remove-control-file
 
 These options have exactly same meaning of the ones in the
 command-line options, but it just applies to the URIs it belongs to.

+ 3 - 0
doc/xmlrpc/aria2rpc

@@ -185,6 +185,9 @@ OptionParser.new do |opt|
   opt.on("--realtime-chunk-checksum BOOL",["true","false"]){|val|
     options["realtime-chunk-checksum"]=val
   }
+  opt.on("--remove-control-file [BOOL]",["true","false"]){|val|
+    options["remove-control-file"]=val||"true"
+  }
   opt.on("--max-overall-download-limit LIMIT"){|val| options["max-overall-download-limit"]=val}
   opt.on("--max-overall-upload-limit LIMIT"){|val| options["max-overall-upload-limit"]=val}
   opt.on("-j","--max-concurrent-downloads N"){|val| options["max-concurrent-downloads"]=val}

+ 2 - 1
src/download_helper.cc

@@ -152,7 +152,8 @@ const std::set<std::string>& listRequestOptions()
     PREF_MAX_DOWNLOAD_LIMIT,
     PREF_NO_FILE_ALLOCATION_LIMIT,
     PREF_PARAMETERIZED_URI,
-    PREF_REALTIME_CHUNK_CHECKSUM
+    PREF_REALTIME_CHUNK_CHECKSUM,
+    PREF_REMOVE_CONTROL_FILE
   };
   static std::set<std::string> requestOptions
     (vbegin(REQUEST_OPTIONS), vend(REQUEST_OPTIONS));