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
pull/1/head
Tatsuhiro Tsujikawa 2010-03-25 14:51:41 +00:00
parent 8507b5bde4
commit 90bc2ccffc
6 changed files with 30 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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.

View File

@ -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}

View File

@ -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));