Browse Source

2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Documented --interface option in man page.
	* doc/aria2c.1.txt
Tatsuhiro Tsujikawa 16 năm trước cách đây
mục cha
commit
56265173bd
4 tập tin đã thay đổi với 60 bổ sung3 xóa
  1. 5 0
      ChangeLog
  2. 23 2
      doc/aria2c.1
  3. 22 1
      doc/aria2c.1.html
  4. 10 0
      doc/aria2c.1.txt

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2009-12-04  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Documented --interface option in man page.
+	* doc/aria2c.1.txt
+
 2009-12-04  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Try resolved address in the order received from the resolver.

+ 23 - 2
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.2 <http://docbook.sf.net/>
-.\"      Date: 11/29/2009
+.\"      Date: 12/04/2009
 .\"    Manual: Aria2 Manual
 .\"    Source: Aria2
 .\"  Language: English
 .\"
-.TH "ARIA2C" "1" "11/29/2009" "Aria2" "Aria2 Manual"
+.TH "ARIA2C" "1" "12/04/2009" "Aria2" "Aria2 Manual"
 .\" -----------------------------------------------------------------
 .\" * set default formatting
 .\" -----------------------------------------------------------------
@@ -920,6 +920,27 @@ Default:
 \fIprealloc\fR
 .RE
 .PP
+\fB\-\-interface\fR=INTERFACE
+.RS 4
+Bind sockets to given interface\&. You can specify interface name, IP address and hostname\&. Possible Values: interface, IP address, hostname
+.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
+If an interface has multiple addresses, it is highly recommended to specify IP address explicitly\&.
+.sp .5v
+.RE
+.PP
 \fB\-\-log\-level\fR=LEVEL
 .RS 4
 Set log level to output\&. LEVEL is either

+ 22 - 1
doc/aria2c.1.html

@@ -1727,6 +1727,27 @@ writes the piece to the appropriate files.</td>
 </p>
 </dd>
 <dt class="hdlist1">
+<strong>--interface</strong>=INTERFACE
+</dt>
+<dd>
+<p>
+  Bind sockets to given interface. You can specify interface name, IP
+  address and hostname.
+  Possible Values: interface, IP address, hostname
+</p>
+</dd>
+</dl></div>
+<div class="admonitionblock">
+<table><tr>
+<td class="icon">
+<div class="title">Note</div>
+</td>
+<td class="content">If an interface has multiple addresses, it is highly recommended to specify
+IP address explicitly.</td>
+</tr></table>
+</div>
+<div class="dlist"><dl>
+<dt class="hdlist1">
 <strong>--log-level</strong>=LEVEL
 </dt>
 <dd>
@@ -3426,7 +3447,7 @@ files in the program, then also delete it here.</p></div>
 <div id="footnotes"><hr /></div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2009-11-29 21:37:42 JST
+Last updated 2009-12-04 16:45:39 JST
 </div>
 </div>
 </body>

+ 10 - 0
doc/aria2c.1.txt

@@ -636,6 +636,16 @@ Advanced Options
   Possible Values: 'none', 'prealloc', 'falloc'
   Default: 'prealloc'
 
+*--interface*=INTERFACE::
+
+  Bind sockets to given interface. You can specify interface name, IP
+  address and hostname.
+  Possible Values: interface, IP address, hostname
+
+[NOTE]
+If an interface has multiple addresses, it is highly recommended to specify
+IP address explicitly.
+
 *--log-level*=LEVEL::
   Set log level to output.
   LEVEL is either 'debug', 'info', 'notice', 'warn' or 'error'.