From b2fbe2c896a8588f09b8f0339e215c5fc2bb04a2 Mon Sep 17 00:00:00 2001
From: Tatsuhiro Tsujikawa
Date: Tue, 23 Nov 2010 13:59:03 +0000
Subject: [PATCH] 2010-11-23 Tatsuhiro Tsujikawa
Made --continue, --daemon, --no-conf, --no-netrc and --show-files
option take optional argument.
* doc/aria2c.1.txt
* src/OptionHandlerFactory.cc
* src/usage_text.h
---
ChangeLog | 8 ++++++++
doc/aria2c.1 | 14 +++++++-------
doc/aria2c.1.html | 12 ++++++------
doc/aria2c.1.txt | 10 +++++-----
src/OptionHandlerFactory.cc | 18 +++++++++---------
src/usage_text.h | 10 +++++-----
6 files changed, 40 insertions(+), 32 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2ed743a0..ee15bc6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-11-23 Tatsuhiro Tsujikawa
+
+ Made --continue, --daemon, --no-conf, --no-netrc and --show-files
+ option take optional argument.
+ * doc/aria2c.1.txt
+ * src/OptionHandlerFactory.cc
+ * src/usage_text.h
+
2010-11-20 Tatsuhiro Tsujikawa
Added BtSeederStateChoke::PeerEntry::swap(). Also added
diff --git a/doc/aria2c.1 b/doc/aria2c.1
index 0c31c2d1..a1736d7c 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.2
-.\" Date: 10/31/2010
+.\" Date: 11/23/2010
.\" Manual: Aria2 Manual
.\" Source: Aria2 1.10.6
.\" Language: English
.\"
-.TH "ARIA2C" "1" "10/31/2010" "Aria2 1\&.10\&.6" "Aria2 Manual"
+.TH "ARIA2C" "1" "11/23/2010" "Aria2 1\&.10\&.6" "Aria2 Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -79,7 +79,7 @@ Check file integrity by validating piece hashes or a hash of entire file\&. This
\fIfalse\fR
.RE
.PP
-\fB\-c\fR, \fB\-\-continue\fR
+\fB\-c\fR, \fB\-\-continue\fR[=\fItrue\fR|\fIfalse\fR]
.RS 4
Continue downloading a partially downloaded file\&. Use this option to resume a download started by a web browser or another program which downloads files sequentially from the beginning\&. Currently this option is only applicable to HTTP(S)/FTP downloads\&.
.RE
@@ -209,7 +209,7 @@ Default:
\fI20M\fR
.RE
.PP
-\fB\-n\fR, \fB\-\-no\-netrc\fR
+\fB\-n\fR, \fB\-\-no\-netrc\fR[=\fItrue\fR|\fIfalse\fR]
.RS 4
Disables netrc support\&. netrc support is enabled by default\&.
.RE
@@ -636,7 +636,7 @@ In multi file torrent, the adjacent files specified by this option may also be d
.sp .5v
.RE
.PP
-\fB\-S\fR, \fB\-\-show\-files\fR
+\fB\-S\fR, \fB\-\-show\-files\fR[=\fItrue\fR|\fIfalse\fR]
.RS 4
Print file listing of \&.torrent or \&.metalink file and exit\&. In case of \&.torrent file, additional information (infohash, piece length, etc) is also printed\&.
.RE
@@ -1185,7 +1185,7 @@ Change the configuration file path to PATH\&. Default:
\fI$HOME/\&.aria2/aria2\&.conf\fR
.RE
.PP
-\fB\-D\fR, \fB\-\-daemon\fR
+\fB\-D\fR, \fB\-\-daemon\fR[=\fItrue\fR|\fIfalse\fR]
.RS 4
Run as daemon\&. The current working directory will be changed to
\fI/\fR
@@ -1428,7 +1428,7 @@ option\&. Default:
\fI0\fR
.RE
.PP
-\fB\-\-no\-conf\fR
+\fB\-\-no\-conf\fR[=\fItrue\fR|\fIfalse\fR]
.RS 4
Disable loading aria2\&.conf file\&.
.RE
diff --git a/doc/aria2c.1.html b/doc/aria2c.1.html
index f1805ac9..d7f1dc77 100644
--- a/doc/aria2c.1.html
+++ b/doc/aria2c.1.html
@@ -661,7 +661,7 @@ downloading a file like BitTorrent.
--c, --continue
+-c, --continue[=true|false]
@@ -820,7 +820,7 @@ then you get HTTP proxy "http://proxy" with user "user" and password
--n, --no-netrc
+-n, --no-netrc[=true|false]
@@ -1344,7 +1344,7 @@ writes the piece to the appropriate files.
-
--S, --show-files
+-S, --show-files[=true|false]
-
@@ -2042,7 +2042,7 @@ writes the piece to the appropriate files.
-
--D, --daemon
+-D, --daemon[=true|false]
-
@@ -2306,7 +2306,7 @@ are also allocated if they share the same piece.
-
---no-conf
+--no-conf[=true|false]
-
@@ -4708,7 +4708,7 @@ files in the program, then also delete it here.