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
pull/1/head
Tatsuhiro Tsujikawa 2009-09-18 12:51:34 +00:00
parent 6de2a86b5c
commit 33e04e5014
5 changed files with 32 additions and 29 deletions

View File

@ -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> 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated man page for added help tags. Updated man page for added help tags.

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/17/2009 .\" Date: 09/18/2009
.\" Manual: Aria2 Manual .\" Manual: Aria2 Manual
.\" Source: Aria2 .\" Source: Aria2
.\" Language: English .\" Language: English
.\" .\"
.TH "ARIA2C" "1" "09/17/2009" "Aria2" "Aria2 Manual" .TH "ARIA2C" "1" "09/18/2009" "Aria2" "Aria2 Manual"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * set default formatting .\" * set default formatting
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
@ -77,8 +77,7 @@ Continue downloading a partially downloaded file\&. Use this option to resume a
.PP .PP
\fB\-h\fR, \fB\-\-help\fR[=CATEGORY|KEYWORD] \fB\-h\fR, \fB\-\-help\fR[=CATEGORY|KEYWORD]
.RS 4 .RS 4
Print usage and exit\&. The help messages are classified in several categories\&. A category starts with 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#\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:
\fI#basic\fR, \fI#basic\fR,
\fI#advanced\fR, \fI#advanced\fR,
\fI#http\fR, \fI#http\fR,

View File

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

View File

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

View File

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