2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Made the max value of split option unlimited.
	* doc/aria2c.1.txt
	* src/OptionHandlerFactory.cc
pull/1/head
Tatsuhiro Tsujikawa 2009-01-15 15:41:15 +00:00
parent c34ac25683
commit 55df3c78a3
5 changed files with 13 additions and 10 deletions

View File

@ -1,3 +1,9 @@
2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Made the max value of split option unlimited.
* doc/aria2c.1.txt
* src/OptionHandlerFactory.cc
2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile warning/error.

View File

@ -1,11 +1,11 @@
.\" Title: aria2c
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
.\" Date: 12/29/2008
.\" Date: 01/16/2009
.\" Manual:
.\" Source:
.\"
.TH "ARIA2C" "1" "12/29/2008" "" ""
.TH "ARIA2C" "1" "01/16/2009" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@ -193,10 +193,7 @@ Specifies timeout in seconds to invalidate performance profile of the servers si
.PP
\fB\-s\fR, \fB\-\-split\fR=N
.RS 4
Download a file using N connections\&. If more than N URLs are given, first N URLs are used and remaining URLs are used for backup\&. If less than N URLs are given, those URLs are used more than once so that N connections total are made simultaneously\&. N must be between
\fI1\fR
and
\fI16\fR\&. Please see
Download a file using N connections\&. If more than N URLs are given, first N URLs are used and remaining URLs are used for backup\&. If less than N URLs are given, those URLs are used more than once so that N connections total are made simultaneously\&. Please see
\fB\-j\fR
option too\&. Please note that in Metalink download, this option has no effect and use
\fB\-C\fR

View File

@ -622,7 +622,7 @@ aria2c -o myfile.zip http://mirror1/file.zip http://mirror2/file.zip</td>
used for backup.
If less than N URLs are given, those URLs are used more than once so that N
connections total are made simultaneously.
N must be between <em>1</em> and <em>16</em>. Please see <strong>-j</strong> option too.
Please see <strong>-j</strong> option too.
Please note that in Metalink download, this option has no effect and use
<strong>-C</strong> option instead.
Default: <em>5</em>
@ -2064,7 +2064,7 @@ files in the program, then also delete it here.</p></div>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2008-12-29 23:10:06 JST
Last updated 2009-01-16 00:36:39 JST
</div>
</div>
</body>

View File

@ -146,7 +146,7 @@ aria2c -o myfile.zip \http://mirror1/file.zip \http://mirror2/file.zip
used for backup.
If less than N URLs are given, those URLs are used more than once so that N
connections total are made simultaneously.
N must be between '1' and '16'. Please see *-j* option too.
Please see *-j* option too.
Please note that in Metalink download, this option has no effect and use
*-C* option instead.
Default: '5'

View File

@ -411,7 +411,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
(PREF_SPLIT,
TEXT_SPLIT,
"5",
1, 16));
1));
op->addTag(TAG_BASIC);
op->addTag(TAG_FTP);
op->addTag(TAG_HTTP);