From 33e04e501449d90811f457008cc568950b5c3080 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 18 Sep 2009 12:51:34 +0000 Subject: [PATCH] 2009-09-18 Tatsuhiro Tsujikawa Updated the help message for --help option. * src/usage_text.h * doc/aria2c.1.txt --- ChangeLog | 6 ++++++ doc/aria2c.1 | 7 +++---- doc/aria2c.1.html | 19 +++++++++---------- doc/aria2c.1.txt | 18 +++++++++--------- src/usage_text.h | 11 +++++------ 5 files changed, 32 insertions(+), 29 deletions(-) diff --git a/ChangeLog b/ChangeLog index ebf94f18..fd7f102d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-09-18 Tatsuhiro Tsujikawa + + Updated the help message for --help option. + * src/usage_text.h + * doc/aria2c.1.txt + 2009-09-17 Tatsuhiro Tsujikawa Updated man page for added help tags. diff --git a/doc/aria2c.1 b/doc/aria2c.1 index 5b6edb9f..129e61c7 100644 --- a/doc/aria2c.1 +++ b/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 -.\" 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, diff --git a/doc/aria2c.1.html b/doc/aria2c.1.html index 49bf20a6..9e3fdef7 100644 --- a/doc/aria2c.1.html +++ b/doc/aria2c.1.html @@ -499,15 +499,14 @@ downloading a file like BitTorrent.

- 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

@@ -3236,7 +3235,7 @@ files in the program, then also delete it here.

diff --git a/doc/aria2c.1.txt b/doc/aria2c.1.txt index d9355614..938ebd31 100644 --- a/doc/aria2c.1.txt +++ b/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 ~~~~~~~~~~~~~~~~ diff --git a/src/usage_text.h b/src/usage_text.h index 3305bc09..a79bc810 100644 --- a/src/usage_text.h +++ b/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 \