瀏覽代碼

2010-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Updated doc for options.
	* doc/aria2c.1.txt
Tatsuhiro Tsujikawa 15 年之前
父節點
當前提交
f8bfc9e167
共有 4 個文件被更改,包括 38 次插入93 次删除
  1. 5 0
      ChangeLog
  2. 12 55
      doc/aria2c.1
  3. 13 25
      doc/aria2c.1.html
  4. 8 13
      doc/aria2c.1.txt

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2010-07-14  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Updated doc for options.
+	* doc/aria2c.1.txt
+
 2010-07-14  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 2010-07-14  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 
 	Added --max-connection-per-server=NUM option. The default value of
 	Added --max-connection-per-server=NUM option. The default value of

+ 12 - 55
doc/aria2c.1

@@ -2,12 +2,12 @@
 .\"     Title: aria2c
 .\"     Title: aria2c
 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\"      Date: 07/09/2010
+.\"      Date: 07/14/2010
 .\"    Manual: Aria2 Manual
 .\"    Manual: Aria2 Manual
 .\"    Source: Aria2 1.9.5
 .\"    Source: Aria2 1.9.5
 .\"  Language: English
 .\"  Language: English
 .\"
 .\"
-.TH "ARIA2C" "1" "07/09/2010" "Aria2 1\&.9\&.5" "Aria2 Manual"
+.TH "ARIA2C" "1" "07/14/2010" "Aria2 1\&.9\&.5" "Aria2 Manual"
 .\" -----------------------------------------------------------------
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
 .\" -----------------------------------------------------------------
@@ -70,7 +70,7 @@ Set maximum number of parallel downloads for every static (HTTP/FTP) URI, torren
 and
 and
 \fB\-C\fR
 \fB\-C\fR
 option\&. Default:
 option\&. Default:
-\fI5\fR
+\fI2\fR
 .RE
 .RE
 .PP
 .PP
 \fB\-V\fR, \fB\-\-check\-integrity\fR[=\fItrue\fR|\fIfalse\fR]
 \fB\-V\fR, \fB\-\-check\-integrity\fR[=\fItrue\fR|\fIfalse\fR]
@@ -1191,7 +1191,15 @@ If an interface has multiple addresses, it is highly recommended to specify IP a
 .sp .5v
 .sp .5v
 .RE
 .RE
 .PP
 .PP
-\fB\-\-max\-resume\-failure\-tries\fR=\fIN\fR
+\fB\-\-max\-connection\-per\-server\fR=NUM
+.RS 4
+The maximum number of connections to one server for each download\&. Possible Values:
+\fI1\fR\-\fI4\fR
+Default:
+\fI1\fR
+.RE
+.PP
+\fB\-\-max\-resume\-failure\-tries\fR=N
 .RS 4
 .RS 4
 When used with
 When used with
 \fB\-\-always\-resume\fR=\fIfalse\fR, aria2 downloads file from scratch when aria2 detects
 \fB\-\-always\-resume\fR=\fIfalse\fR, aria2 downloads file from scratch when aria2 detects
@@ -3144,57 +3152,6 @@ aria2c "http://host/file\&.zip"
 .ps -1
 .ps -1
 .br
 .br
 .sp
 .sp
-aria2 uses 5 connections to download 1 file by default\&.
-.sp .5v
-.RE
-.RE
-.sp
-.it 1 an-trap
-.nr an-no-space-flag 1
-.nr an-break-flag 1
-.br
-.ps +1
-\fBDownload a file using 1 connection\fR
-.RS 4
-.sp
-.if n \{\
-.RS 4
-.\}
-.nf
-aria2c \-s1 "http://host/file\&.zip"
-.fi
-.if n \{\
-.RE
-.\}
-.if n \{\
-.sp
-.\}
-.RS 4
-.it 1 an-trap
-.nr an-no-space-flag 1
-.nr an-break-flag 1
-.br
-.ps +1
-\fBNote\fR
-.ps -1
-.br
-.sp
-aria2 uses 5 connections to download 1 file by default\&. \-s1 limits the number of connections to just 1\&.
-.sp .5v
-.RE
-.if n \{\
-.sp
-.\}
-.RS 4
-.it 1 an-trap
-.nr an-no-space-flag 1
-.nr an-break-flag 1
-.br
-.ps +1
-\fBNote\fR
-.ps -1
-.br
-.sp
 To stop a download, press Ctrl\-C\&. You can resume the transfer by running aria2c with the same argument in the same directory\&. You can change URIs as long as they are pointing to the same file\&.
 To stop a download, press Ctrl\-C\&. You can resume the transfer by running aria2c with the same argument in the same directory\&. You can change URIs as long as they are pointing to the same file\&.
 .sp .5v
 .sp .5v
 .RE
 .RE

+ 13 - 25
doc/aria2c.1.html

@@ -636,7 +636,7 @@ downloading a file like BitTorrent.</p></div>
 <p>
 <p>
   Set maximum number of parallel downloads for every static (HTTP/FTP) URI,
   Set maximum number of parallel downloads for every static (HTTP/FTP) URI,
   torrent and metalink. See also <strong>-s</strong> and <strong>-C</strong> option.
   torrent and metalink. See also <strong>-s</strong> and <strong>-C</strong> option.
-  Default: <em>5</em>
+  Default: <em>2</em>
 </p>
 </p>
 </dd>
 </dd>
 <dt class="hdlist1">
 <dt class="hdlist1">
@@ -2017,7 +2017,17 @@ name.</td>
 </div>
 </div>
 <div class="dlist"><dl>
 <div class="dlist"><dl>
 <dt class="hdlist1">
 <dt class="hdlist1">
-<strong>--max-resume-failure-tries</strong>=<em>N</em>
+<strong>--max-connection-per-server</strong>=NUM
+</dt>
+<dd>
+<p>
+  The maximum number of connections to one server for each download.
+  Possible Values: <em>1</em>-<em>4</em>
+  Default: <em>1</em>
+</p>
+</dd>
+<dt class="hdlist1">
+<strong>--max-resume-failure-tries</strong>=N
 </dt>
 </dt>
 <dd>
 <dd>
 <p>
 <p>
@@ -3811,28 +3821,6 @@ pprint(r)</tt></pre>
 <td class="icon">
 <td class="icon">
 <div class="title">Note</div>
 <div class="title">Note</div>
 </td>
 </td>
-<td class="content">aria2 uses 5 connections to download 1 file by default.</td>
-</tr></table>
-</div>
-<h4 id="_download_a_file_using_1_connection">Download a file using 1 connection</h4>
-<div class="listingblock">
-<div class="content">
-<pre><tt>aria2c -s1 "http://host/file.zip"</tt></pre>
-</div></div>
-<div class="admonitionblock">
-<table><tr>
-<td class="icon">
-<div class="title">Note</div>
-</td>
-<td class="content">aria2 uses 5 connections to download 1 file by default.
--s1 limits the number of connections to just 1.</td>
-</tr></table>
-</div>
-<div class="admonitionblock">
-<table><tr>
-<td class="icon">
-<div class="title">Note</div>
-</td>
 <td class="content">To stop a download, press Ctrl-C. You can resume the transfer by running aria2c with the same argument in the same directory. You can change URIs as long as they are pointing to the same file.</td>
 <td class="content">To stop a download, press Ctrl-C. You can resume the transfer by running aria2c with the same argument in the same directory. You can change URIs as long as they are pointing to the same file.</td>
 </tr></table>
 </tr></table>
 </div>
 </div>
@@ -4214,7 +4202,7 @@ files in the program, then also delete it here.</p></div>
 <div id="footnotes"><hr /></div>
 <div id="footnotes"><hr /></div>
 <div id="footer">
 <div id="footer">
 <div id="footer-text">
 <div id="footer-text">
-Last updated 2010-07-09 01:48:36 JST
+Last updated 2010-07-14 20:42:14 JST
 </div>
 </div>
 </div>
 </div>
 </body>
 </body>

+ 8 - 13
doc/aria2c.1.txt

@@ -48,7 +48,7 @@ Basic Options
 *-j*, *--max-concurrent-downloads*=N::
 *-j*, *--max-concurrent-downloads*=N::
   Set maximum number of parallel downloads for every static (HTTP/FTP) URI,
   Set maximum number of parallel downloads for every static (HTTP/FTP) URI,
   torrent and metalink. See also *-s* and *-C* option.
   torrent and metalink. See also *-s* and *-C* option.
-  Default: '5'
+  Default: '2'
 
 
 *-V*, *--check-integrity*[='true'|'false']::
 *-V*, *--check-integrity*[='true'|'false']::
   Check file integrity by validating piece hashes.
   Check file integrity by validating piece hashes.
@@ -811,7 +811,13 @@ specify IP address explicitly. See also *--disable-ipv6*.  If your
 system doesn't have getifaddrs(), this option doesn't accept interface
 system doesn't have getifaddrs(), this option doesn't accept interface
 name.
 name.
 
 
-*--max-resume-failure-tries*='N'::
+*--max-connection-per-server*=NUM::
+
+  The maximum number of connections to one server for each download.
+  Possible Values: '1'-'4'
+  Default: '1'
+
+*--max-resume-failure-tries*=N::
 
 
   When used with *--always-resume*='false', aria2 downloads file from
   When used with *--always-resume*='false', aria2 downloads file from
   scratch when aria2 detects 'N' number of URIs that does not support
   scratch when aria2 detects 'N' number of URIs that does not support
@@ -1926,17 +1932,6 @@ Download a file
 --------------------------------
 --------------------------------
 aria2c "http://host/file.zip"
 aria2c "http://host/file.zip"
 --------------------------------
 --------------------------------
-[NOTE]
-aria2 uses 5 connections to download 1 file by default.
-
-Download a file using 1 connection
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-----------------------------------
-aria2c -s1 "http://host/file.zip"
-----------------------------------
-[NOTE]
-aria2 uses 5 connections to download 1 file by default.
--s1 limits the number of connections to just 1.
 
 
 [NOTE]
 [NOTE]
 To stop a download, press Ctrl-C. You can resume the transfer by running aria2c with the same argument in the same directory. You can change URIs as long as they are pointing to the same file.
 To stop a download, press Ctrl-C. You can resume the transfer by running aria2c with the same argument in the same directory. You can change URIs as long as they are pointing to the same file.