소스 검색

2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Rewritten the section for configuration file.
	* README
	* doc/aria2c.1.txt
Tatsuhiro Tsujikawa 16 년 전
부모
커밋
b642ee92cd
6개의 변경된 파일53개의 추가작업 그리고 23개의 파일을 삭제
  1. 6 0
      ChangeLog
  2. 11 4
      README
  3. 10 5
      README.html
  4. 5 3
      doc/aria2c.1
  5. 10 6
      doc/aria2c.1.html
  6. 11 5
      doc/aria2c.1.txt

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+2009-02-14  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Rewritten the section for configuration file.
+	* README
+	* doc/aria2c.1.txt
+	
 2009-02-13  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Fixed the segmentation fault during execution of choking algorithm

+ 11 - 4
README

@@ -261,10 +261,17 @@ host=localhost, protocol=ftp, dl_speed=0, last_updated=1222491632, status=ERROR
 
 Configuration file
 ------------------
-Configuration file must be placed under $HOME/.aria2 and must be named
-as aria2.conf.  In each line, there is 1 parameter whose syntax is
-name=value pair, where name is the long command-line option name
-without \-- prefix.  The lines beginning '#' are treated as comments.
+
+By default, aria2 parses "$HOME/.aria2/aria2.conf" as a configuraiton
+file. You can specify the path to configuration file using
+\--conf-path option.  If you don't want to use the configuraitonf
+file, use \--no-conf option.
+
+The configuration file is a text file and has 1 option per each
+line. In each line, you can specify name-value pair in the format:
+NAME=VALUE, where name is the long command-line option name without
+"\--" prefix. You can use same syntax for the command-line option. The
+lines beginning "#" are treated as comments.
 
 Example:
 --------------------------------------

+ 10 - 5
README.html

@@ -871,10 +871,15 @@ host=localhost, protocol=ftp, dl_speed=0, last_updated=1222491632, status=ERROR<
 </div>
 <h2 id="_configuration_file">9. Configuration file</h2>
 <div class="sectionbody">
-<div class="para"><p>Configuration file must be placed under $HOME/.aria2 and must be named
-as aria2.conf.  In each line, there is 1 parameter whose syntax is
-name=value pair, where name is the long command-line option name
-without -- prefix.  The lines beginning <em>#</em> are treated as comments.</p></div>
+<div class="para"><p>By default, aria2 parses "$HOME/.aria2/aria2.conf" as a configuraiton
+file. You can specify the path to configuration file using
+--conf-path option.  If you don't want to use the configuraitonf
+file, use --no-conf option.</p></div>
+<div class="para"><p>The configuration file is a text file and has 1 option per each
+line. In each line, you can specify name-value pair in the format:
+NAME=VALUE, where name is the long command-line option name without
+"--" prefix. You can use same syntax for the command-line option. The
+lines beginning "#" are treated as comments.</p></div>
 <div class="para"><p>Example:</p></div>
 <div class="listingblock">
 <div class="content">
@@ -886,7 +891,7 @@ max-upload-limit=40K</tt></pre>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2008-12-17 21:37:38 JST
+Last updated 2009-02-14 18:26:21 JST
 </div>
 </div>
 </body>

+ 5 - 3
doc/aria2c.1

@@ -1,11 +1,11 @@
 .\"     Title: aria2c
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
-.\"      Date: 02/07/2009
+.\"      Date: 02/14/2009
 .\"    Manual: 
 .\"    Source: 
 .\"
-.TH "ARIA2C" "1" "02/07/2009" "" ""
+.TH "ARIA2C" "1" "02/14/2009" "" ""
 .\" disable hyphenation
 .nh
 .\" disable justification (adjust text to left margin only)
@@ -1584,7 +1584,9 @@ host=localhost, protocol=ftp, dl_speed=0, last_updated=1222491632, status=ERROR
 .RE
 .SH "FILES"
 .SS "aria2\&.conf"
-User configuration file\&. It must be placed under $HOME/\&.aria2 and must be named aria2\&.conf\&. In each line, there is 1 parameter whose syntax is name=value pair, where name is the long command\-line option name without \fI\-\-\fR prefix\&. The lines beginning \fI#\fR are treated as comments\&.
+By default, aria2 parses \fI$HOME/\&.aria2/aria2\&.conf\fR as a configuraiton file\&. You can specify the path to configuration file using \fB\-\-conf\-path\fR option\&. If you don\'t want to use the configuraitonf file, use \fB\-\-no\-conf\fR option\&.
+.sp
+The configuration file is a text file and has 1 option per each line\&. In each line, you can specify name\-value pair in the format: NAME=VALUE, where name is the long command\-line option name without "\-\-" prefix\&. You can use same syntax for the command\-line option\&. The lines beginning "#" are treated as comments\&.
 .sp
 .sp
 .RS 4

+ 10 - 6
doc/aria2c.1.html

@@ -2022,11 +2022,15 @@ host=localhost, protocol=ftp, dl_speed=0, last_updated=1222491632, status=ERROR<
 <h2 id="_files">FILES</h2>
 <div class="sectionbody">
 <h3 id="_aria2_conf">aria2.conf</h3><div style="clear:left"></div>
-<div class="para"><p>User configuration file.
-It must be placed under $HOME/.aria2 and must be named aria2.conf.
-In each line, there is 1 parameter whose syntax is name=value pair,
-where name is the long command-line option name without <em>--</em> prefix.
-The lines beginning <em>#</em> are treated as comments.</p></div>
+<div class="para"><p>By default, aria2 parses <em>$HOME/.aria2/aria2.conf</em> as a configuraiton
+file. You can specify the path to configuration file using
+<strong>--conf-path</strong> option.  If you don't want to use the configuraitonf
+file, use <strong>--no-conf</strong> option.</p></div>
+<div class="para"><p>The configuration file is a text file and has 1 option per each
+line. In each line, you can specify name-value pair in the format:
+NAME=VALUE, where name is the long command-line option name without
+"--" prefix. You can use same syntax for the command-line option. The
+lines beginning "#" are treated as comments.</p></div>
 <div class="listingblock">
 <div class="content">
 <pre><tt># sample configuration file for aria2c
@@ -2223,7 +2227,7 @@ files in the program, then also delete it here.</p></div>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2009-02-07 23:00:30 JST
+Last updated 2009-02-14 18:27:19 JST
 </div>
 </div>
 </body>

+ 11 - 5
doc/aria2c.1.txt

@@ -1012,11 +1012,17 @@ FILES
 -----
 aria2.conf
 ~~~~~~~~~~
-User configuration file.
-It must be placed under $HOME/.aria2 and must be named aria2.conf.
-In each line, there is 1 parameter whose syntax is name=value pair,
-where name is the long command-line option name without '--' prefix.
-The lines beginning '#' are treated as comments.
+
+By default, aria2 parses '$HOME/.aria2/aria2.conf' as a configuraiton
+file. You can specify the path to configuration file using
+*--conf-path* option.  If you don't want to use the configuraitonf
+file, use *--no-conf* option.
+
+The configuration file is a text file and has 1 option per each
+line. In each line, you can specify name-value pair in the format:
+NAME=VALUE, where name is the long command-line option name without
+"--" prefix. You can use same syntax for the command-line option. The
+lines beginning "#" are treated as comments.
 
 --------------------------------------
 # sample configuration file for aria2c