Jelajahi Sumber

2009-09-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Updated the help message for --help option.
	* src/usage_text.h
	* doc/aria2c.1.txt
Tatsuhiro Tsujikawa 16 tahun lalu
induk
melakukan
33e04e5014
5 mengubah file dengan 32 tambahan dan 29 penghapusan
  1. 6 0
      ChangeLog
  2. 3 4
      doc/aria2c.1
  3. 9 10
      doc/aria2c.1.html
  4. 9 9
      doc/aria2c.1.txt
  5. 5 6
      src/usage_text.h

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+2009-09-18  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Updated the help message for --help option.
+	* src/usage_text.h
+	* doc/aria2c.1.txt
+
 2009-09-17  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Updated man page for added help tags.

+ 3 - 4
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/17/2009
+.\"      Date: 09/18/2009
 .\"    Manual: Aria2 Manual
 .\"    Source: Aria2
 .\"  Language: English
 .\"
-.TH "ARIA2C" "1" "09/17/2009" "Aria2" "Aria2 Manual"
+.TH "ARIA2C" "1" "09/18/2009" "Aria2" "Aria2 Manual"
 .\" -----------------------------------------------------------------
 .\" * set default formatting
 .\" -----------------------------------------------------------------
@@ -77,8 +77,7 @@ Continue downloading a partially downloaded file\&. Use this option to resume a
 .PP
 \fB\-h\fR, \fB\-\-help\fR[=CATEGORY|KEYWORD]
 .RS 4
-Print usage and exit\&. The help messages are classified in several categories\&. A category starts with
-\fI#\fR\&. For example, type "\-\-help=#http" to get the usage for the options related to http\&. If non\-category keyword is given, print the usage of the options whose name includes given keyword\&. Available Values:
+The help messages are classified with tags\&. A tag starts with "#"\&. For example, type "\-\-help=#http" to get the usage for the options tagged with "#http"\&. If non\-tag word is given, print the usage for the options whose name includes that word\&. Available Values:
 \fI#basic\fR,
 \fI#advanced\fR,
 \fI#http\fR,

+ 9 - 10
doc/aria2c.1.html

@@ -499,15 +499,14 @@ downloading a file like BitTorrent.</p></div>
 </dt>
 <dd>
 <p>
-  Print usage and exit.  The help messages are classified in several
-  categories. A category starts with <em>#</em>. For example, type
-  "--help=#http" to get the usage for the options related to http. If
-  non-category keyword is given, print the usage of the options whose
-  name includes given keyword.
-  Available Values: <em>#basic</em>, <em>#advanced</em>, <em>#http</em>, <em>#https</em>, <em>#ftp</em>,
-  <em>#metalink</em>, <em>#bittorrent</em>, <em>#cookie</em>, <em>#hook</em>, <em>#file</em>, <em>#xml-rpc</em>,
-  <em>#experimental</em>, <em>#all</em>
-  Default: <em>#basic</em>
+   The help messages are classified with tags. A tag starts with
+   "#". For example, type "--help=#http" to get the usage for the
+   options tagged with "#http". If non-tag word is given, print the
+   usage for the options whose name includes that word.
+   Available Values: <em>#basic</em>, <em>#advanced</em>, <em>#http</em>, <em>#https</em>, <em>#ftp</em>,
+   <em>#metalink</em>, <em>#bittorrent</em>, <em>#cookie</em>, <em>#hook</em>, <em>#file</em>,
+   <em>#xml-rpc</em>, <em>#experimental</em>, <em>#all</em>
+   Default: <em>#basic</em>
 </p>
 </dd>
 </dl></div>
@@ -3236,7 +3235,7 @@ files in the program, then also delete it here.</p></div>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2009-09-17 23:43:49 JST
+Last updated 2009-09-18 21:50:45 JST
 </div>
 </div>
 </body>

+ 9 - 9
doc/aria2c.1.txt

@@ -63,15 +63,15 @@ Basic Options
    Currently this option is only applicable to HTTP(S)/FTP downloads.
 
 *-h*, *--help*[=CATEGORY|KEYWORD]::
-  Print usage and exit.  The help messages are classified in several
-  categories. A category starts with '#'. For example, type
-  "--help=#http" to get the usage for the options related to http. If
-  non-category keyword is given, print the usage of the options whose
-  name includes given keyword.
-  Available Values: '#basic', '#advanced', '#http', '#https', '#ftp',
-  '#metalink', '#bittorrent', '#cookie', '#hook', '#file', '#xml-rpc',
-  '#experimental', '#all'
-  Default: '#basic'
+
+   The help messages are classified with tags. A tag starts with
+   "#". For example, type "--help=#http" to get the usage for the
+   options tagged with "#http". If non-tag word is given, print the
+   usage for the options whose name includes that word.
+   Available Values: '#basic', '#advanced', '#http', '#https', '#ftp',
+   '#metalink', '#bittorrent', '#cookie', '#hook', '#file',
+   '#xml-rpc', '#experimental', '#all'
+   Default: '#basic'
 
 HTTP/FTP Options
 ~~~~~~~~~~~~~~~~

+ 5 - 6
src/usage_text.h

@@ -375,12 +375,11 @@ _(" --metalink-enable-unique-protocol=true|false If true is given and several\n"
 _(" -v, --version                Print the version number and exit.")
 #define TEXT_HELP \
 _(" -h, --help[=CATEGORY|KEYWORD] Print usage and exit.\n"\
-  "                              The help messages are classified in several\n"\
-  "                              categories. A category starts with '#'. For\n"\
-  "                              example, type \"--help=#http\" to get the usage\n"\
-  "                              for the options related to http. If non-category\n"\
-  "                              keyword is given, print the usage of the options\n"\
-  "                              whose name includes given keyword.")
+  "                              The help messages are classified with tags. A tag\n"\
+  "                              starts with \"#\". For example, type \"--help=#http\"\n"\
+  "                              to get the usage for the options tagged with\n"\
+  "                              \"#http\". If non-tag word is given, print the usage\n"\
+  "                              for the options whose name includes that word.")
 #define TEXT_NO_CONF \
 _(" --no-conf                    Disable loading aria2.conf file.")
 #define TEXT_CONF_PATH \