Browse Source

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
Tatsuhiro Tsujikawa 16 years ago
parent
commit
fa9d51417e
4 changed files with 27 additions and 16 deletions
  1. 5 0
      ChangeLog
  2. 6 5
      doc/aria2c.1
  3. 8 6
      doc/aria2c.1.html
  4. 8 5
      doc/aria2c.1.txt

+ 5 - 0
ChangeLog

@@ -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>
 
 	Code clean up

+ 6 - 5
doc/aria2c.1

@@ -2,12 +2,12 @@
 .\"     Title: aria2c
 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
 .\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
-.\"      Date: 09/20/2009
+.\"      Date: 10/05/2009
 .\"    Manual: Aria2 Manual
 .\"    Source: Aria2
 .\"  Language: English
 .\"
-.TH "ARIA2C" "1" "09/20/2009" "Aria2" "Aria2 Manual"
+.TH "ARIA2C" "1" "10/05/2009" "Aria2" "Aria2 Manual"
 .\" -----------------------------------------------------------------
 .\" * set default formatting
 .\" -----------------------------------------------------------------
@@ -393,7 +393,8 @@ Use HEAD method for the first request to the HTTP server\&. Default:
 .PP
 \fB\-U\fR, \fB\-\-user\-agent\fR=USER_AGENT
 .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
 .SS "FTP Specific Options"
 .PP
@@ -675,8 +676,8 @@ option\&. Default:
 .PP
 \fB\-\-peer\-id\-prefix\fR=PEER_ID_PREFIX
 .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:
-\fI\-aria2\-\fR
+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:
+\fIaria2/$VERSION\-\fR, $VERSION is replaced by package version\&.
 .RE
 .PP
 \fB\-\-seed\-ratio\fR=RATIO

+ 8 - 6
doc/aria2c.1.html

@@ -899,6 +899,7 @@ aria2c -o myfile.zip "http://mirror1/file.zip" "http://mirror2/file.zip"</td>
 <dd>
 <p>
   Set user agent for HTTP(S) downloads.
+  Default: <em>aria2/$VERSION</em>, $VERSION is replaced by package version.
 </p>
 </dd>
 </dl></div>
@@ -1245,11 +1246,12 @@ writes the piece to the appropriate files.</td>
 </dt>
 <dd>
 <p>
-  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&#8217;s length 20 bytes.
-  Default: <em>-aria2-</em>
+  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: <em>aria2/$VERSION-</em>, $VERSION is replaced by package version.
 </p>
 </dd>
 <dt class="hdlist1">
@@ -3222,7 +3224,7 @@ files in the program, then also delete it here.</p></div>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2009-09-20 17:55:08 JST
+Last updated 2009-10-05 23:56:06 JST
 </div>
 </div>
 </body>

+ 8 - 5
doc/aria2c.1.txt

@@ -275,6 +275,7 @@ If aria2 is built without libsqlite3, then it doesn't support Firefox3 cookie fo
 
 *-U*, *--user-agent*=USER_AGENT::
   Set user agent for HTTP(S) downloads.
+  Default: 'aria2/$VERSION', $VERSION is replaced by package version.
 
 FTP Specific Options
 ~~~~~~~~~~~~~~~~~~~~
@@ -453,11 +454,13 @@ Make sure that the specified ports are open for incoming TCP traffic.
   Default: '0'
 
 *--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.
-  If less than 20 bytes are specified, the random alphabet characters are
-  added to make it's length 20 bytes.
-  Default: '-aria2-'
+
+  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: 'aria2/$VERSION-', $VERSION is replaced by package version.
 
 *--seed-ratio*=RATIO::
   Specify share ratio. Seed completed torrents until share ratio reaches