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> 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile warning/error. Fixed compile warning/error.

View File

@ -1,11 +1,11 @@
.\" Title: aria2c .\" Title: aria2c
.\" Author: .\" Author:
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
.\" Date: 12/29/2008 .\" Date: 01/16/2009
.\" Manual: .\" Manual:
.\" Source: .\" Source:
.\" .\"
.TH "ARIA2C" "1" "12/29/2008" "" "" .TH "ARIA2C" "1" "01/16/2009" "" ""
.\" disable hyphenation .\" disable hyphenation
.nh .nh
.\" disable justification (adjust text to left margin only) .\" 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 .PP
\fB\-s\fR, \fB\-\-split\fR=N \fB\-s\fR, \fB\-\-split\fR=N
.RS 4 .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 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
\fI1\fR
and
\fI16\fR\&. Please see
\fB\-j\fR \fB\-j\fR
option too\&. Please note that in Metalink download, this option has no effect and use option too\&. Please note that in Metalink download, this option has no effect and use
\fB\-C\fR \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. used for backup.
If less than N URLs are given, those URLs are used more than once so that N If less than N URLs are given, those URLs are used more than once so that N
connections total are made simultaneously. 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 Please note that in Metalink download, this option has no effect and use
<strong>-C</strong> option instead. <strong>-C</strong> option instead.
Default: <em>5</em> Default: <em>5</em>
@ -2064,7 +2064,7 @@ files in the program, then also delete it here.</p></div>
</div> </div>
<div id="footer"> <div id="footer">
<div id="footer-text"> <div id="footer-text">
Last updated 2008-12-29 23:10:06 JST Last updated 2009-01-16 00:36:39 JST
</div> </div>
</div> </div>
</body> </body>

View File

@ -146,7 +146,7 @@ aria2c -o myfile.zip \http://mirror1/file.zip \http://mirror2/file.zip
used for backup. used for backup.
If less than N URLs are given, those URLs are used more than once so that N If less than N URLs are given, those URLs are used more than once so that N
connections total are made simultaneously. 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 Please note that in Metalink download, this option has no effect and use
*-C* option instead. *-C* option instead.
Default: '5' Default: '5'

View File

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