From 64a7770f53801d33cacc857fe0e6fe15b8a540fb Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 16 Nov 2008 08:36:41 +0000 Subject: [PATCH] 2008-11-16 Tatsuhiro Tsujikawa Added a section that explains how to pass argument to options that takes optional arguments with its short form. * doc/aria2c.1.txt --- ChangeLog | 6 ++++++ doc/aria2c.1 | 3 +++ doc/aria2c.1.html | 9 ++++++++- doc/aria2c.1.txt | 9 +++++++++ 4 files changed, 26 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a3ac6c76..6bbb3bf9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-11-16 Tatsuhiro Tsujikawa + + Added a section that explains how to pass argument to options that + takes optional arguments with its short form. + * doc/aria2c.1.txt + 2008-11-16 Tatsuhiro Tsujikawa Added -u for the short form of --max-upload-limit option. diff --git a/doc/aria2c.1 b/doc/aria2c.1 index 183126ce..67675a74 100644 --- a/doc/aria2c.1 +++ b/doc/aria2c.1 @@ -782,6 +782,9 @@ is given, this feature is disabled\&. Default: .RS 4 Print the version number, copyright and the configuration information and exit\&. .RE +.SS "OPTIONS THAT TAKES OPTIONAL ARGUMENTS" +The options that has its arguments surrounded by square brackets([]) are optional\&. Usually ommiting the argument is evaluated to \fItrue\fR\&. If you use short form of these option(such as \fI\-V\fR) of these options and give arugment, then the option name and its argument should be concatenated like \fI\-Vfalse\fR)\&. If any spaces are inserted between the option name and argument, the argument treated as URI and usually this is not what you expect\&. +.sp .SS "URL, TORRENT_FILE, METALINK_FILE" You can specify multiple URLs in command\-line\&. Unless you specify \fB\-Z\fR option, all URLs must point to the same file or downloading will fail\&. .sp diff --git a/doc/aria2c.1.html b/doc/aria2c.1.html index 95ab6e24..4fc9c293 100644 --- a/doc/aria2c.1.html +++ b/doc/aria2c.1.html @@ -1433,6 +1433,13 @@ are also allocated if they share a same piece.

+

OPTIONS THAT TAKES OPTIONAL ARGUMENTS

+

The options that has its arguments surrounded by square brackets([]) +are optional. Usually ommiting the argument is evaluated to true. +If you use short form of these option(such as -V) of these options and give +arugment, then the option name and its argument should be concatenated like +-Vfalse). If any spaces are inserted between the option name and argument, the +argument treated as URI and usually this is not what you expect.

You can specify multiple URLs in command-line. Unless you specify -Z option, all URLs must point to the same file or downloading will fail.

@@ -2021,7 +2028,7 @@ files in the program, then also delete it here.

diff --git a/doc/aria2c.1.txt b/doc/aria2c.1.txt index d097b575..e49085d2 100644 --- a/doc/aria2c.1.txt +++ b/doc/aria2c.1.txt @@ -556,6 +556,15 @@ are also allocated if they share a same piece. Print the version number, copyright and the configuration information and exit. +OPTIONS THAT TAKES OPTIONAL ARGUMENTS +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The options that has its arguments surrounded by square brackets([]) +are optional. Usually ommiting the argument is evaluated to 'true'. +If you use short form of these option(such as '-V') of these options and give +arugment, then the option name and its argument should be concatenated like +'-Vfalse'). If any spaces are inserted between the option name and argument, the +argument treated as URI and usually this is not what you expect. + URL, TORRENT_FILE, METALINK_FILE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ You can specify multiple URLs in command-line.