2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Updated man page for --user-agent and --peer-id-prefix option.
	* doc/aria2c.1.txt
pull/1/head
Tatsuhiro Tsujikawa 2009-10-05 14:56:57 +00:00
parent 967dade8b2
commit fa9d51417e
4 changed files with 27 additions and 16 deletions

View File

@ -1,3 +1,8 @@
2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated man page for --user-agent and --peer-id-prefix option.
* doc/aria2c.1.txt
2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Code clean up Code clean up

View File

@ -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.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
.\" Date: 09/20/2009 .\" Date: 10/05/2009
.\" Manual: Aria2 Manual .\" Manual: Aria2 Manual
.\" Source: Aria2 .\" Source: Aria2
.\" Language: English .\" Language: English
.\" .\"
.TH "ARIA2C" "1" "09/20/2009" "Aria2" "Aria2 Manual" .TH "ARIA2C" "1" "10/05/2009" "Aria2" "Aria2 Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * set default formatting .\" * set default formatting
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
@ -393,7 +393,8 @@ Use HEAD method for the first request to the HTTP server\&. Default:
.PP .PP
\fB\-U\fR, \fB\-\-user\-agent\fR=USER_AGENT \fB\-U\fR, \fB\-\-user\-agent\fR=USER_AGENT
.RS 4 .RS 4
Set user agent for HTTP(S) downloads\&. Set user agent for HTTP(S) downloads\&. Default:
\fIaria2/$VERSION\fR, $VERSION is replaced by package version\&.
.RE .RE
.SS "FTP Specific Options" .SS "FTP Specific Options"
.PP .PP
@ -675,8 +676,8 @@ option\&. Default:
.PP .PP
\fB\-\-peer\-id\-prefix\fR=PEER_ID_PREFIX \fB\-\-peer\-id\-prefix\fR=PEER_ID_PREFIX
.RS 4 .RS 4
Specify the prefix of peer ID\&. The peer ID in BitTorrent is 20 byte length\&. If more than 20 bytes are specified, only first 20 bytes are used\&. If less than 20 bytes are specified, the random alphabet characters are added to make it\(cqs length 20 bytes\&. Default: Specify the prefix of peer ID\&. The peer ID in BitTorrent is 20 byte length\&. If more than 20 bytes are specified, only first 20 bytes are used\&. If less than 20 bytes are specified, random byte data are added to make its length 20 bytes\&. Default:
\fI\-aria2\-\fR \fIaria2/$VERSION\-\fR, $VERSION is replaced by package version\&.
.RE .RE
.PP .PP
\fB\-\-seed\-ratio\fR=RATIO \fB\-\-seed\-ratio\fR=RATIO

View File

@ -899,6 +899,7 @@ aria2c -o myfile.zip "http://mirror1/file.zip" "http://mirror2/file.zip"</td>
<dd> <dd>
<p> <p>
Set user agent for HTTP(S) downloads. Set user agent for HTTP(S) downloads.
Default: <em>aria2/$VERSION</em>, $VERSION is replaced by package version.
</p> </p>
</dd> </dd>
</dl></div> </dl></div>
@ -1245,11 +1246,12 @@ writes the piece to the appropriate files.</td>
</dt> </dt>
<dd> <dd>
<p> <p>
Specify the prefix of peer ID. The peer ID in BitTorrent is 20 byte length. Specify the prefix of peer ID. The peer ID in
If more than 20 bytes are specified, only first 20 bytes are used. BitTorrent is 20 byte length. If more than 20
If less than 20 bytes are specified, the random alphabet characters are bytes are specified, only first 20 bytes are
added to make it&#8217;s length 20 bytes. used. If less than 20 bytes are specified, random
Default: <em>-aria2-</em> byte data are added to make its length 20 bytes.
Default: <em>aria2/$VERSION-</em>, $VERSION is replaced by package version.
</p> </p>
</dd> </dd>
<dt class="hdlist1"> <dt class="hdlist1">
@ -3222,7 +3224,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 2009-09-20 17:55:08 JST Last updated 2009-10-05 23:56:06 JST
</div> </div>
</div> </div>
</body> </body>

View File

@ -275,6 +275,7 @@ If aria2 is built without libsqlite3, then it doesn't support Firefox3 cookie fo
*-U*, *--user-agent*=USER_AGENT:: *-U*, *--user-agent*=USER_AGENT::
Set user agent for HTTP(S) downloads. Set user agent for HTTP(S) downloads.
Default: 'aria2/$VERSION', $VERSION is replaced by package version.
FTP Specific Options FTP Specific Options
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
@ -453,11 +454,13 @@ Make sure that the specified ports are open for incoming TCP traffic.
Default: '0' Default: '0'
*--peer-id-prefix*=PEER_ID_PREFIX:: *--peer-id-prefix*=PEER_ID_PREFIX::
Specify the prefix of peer ID. The peer ID in BitTorrent is 20 byte length.
If more than 20 bytes are specified, only first 20 bytes are used. Specify the prefix of peer ID. The peer ID in
If less than 20 bytes are specified, the random alphabet characters are BitTorrent is 20 byte length. If more than 20
added to make it's length 20 bytes. bytes are specified, only first 20 bytes are
Default: '-aria2-' used. If less than 20 bytes are specified, random
byte data are added to make its length 20 bytes.
Default: 'aria2/$VERSION-', $VERSION is replaced by package version.
*--seed-ratio*=RATIO:: *--seed-ratio*=RATIO::
Specify share ratio. Seed completed torrents until share ratio reaches Specify share ratio. Seed completed torrents until share ratio reaches