diff --git a/ChangeLog b/ChangeLog
index 42fa7bf0..97e04154 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2010-07-16 Tatsuhiro Tsujikawa
+
+ Added --on-bt-download-complete=COMMAND option. For BitTorrent, a
+ command specified in --on-download-complete is called when
+ download completes and seeding is over. On the other hand, this
+ option set the command to be executed when download completes but
+ before seeding.
+ * doc/aria2c.1.txt
+ * src/DefaultPieceStorage.cc
+ * src/OptionHandlerFactory.cc
+ * src/prefs.cc
+ * src/prefs.h
+ * src/usage_text.h
+ * src/util.cc
+ * src/util.h
+
2010-07-16 Tatsuhiro Tsujikawa
Updated doc of --split option.
diff --git a/doc/aria2c.1 b/doc/aria2c.1
index bc2ff052..e7df3964 100644
--- a/doc/aria2c.1
+++ b/doc/aria2c.1
@@ -1249,6 +1249,16 @@ or
\fIdebug\fR
.RE
.PP
+\fB\-\-on\-bt\-download\-complete\fR=COMMAND
+.RS 4
+For BitTorrent, a command specified in
+\fB\-\-on\-download\-complete\fR
+is called when download completes and seeding is over\&. On the other hand, this option set the command to be executed when download completes but before seeding\&. See
+\fB\-\-on\-download\-start\fR
+option for the requirement of COMMAND\&. Possible Values:
+\fI/path/to/command\fR
+.RE
+.PP
\fB\-\-on\-download\-complete\fR=COMMAND
.RS 4
Set the command to be executed when download completes\&. See
diff --git a/doc/aria2c.1.html b/doc/aria2c.1.html
index fc87c352..d6bdb414 100644
--- a/doc/aria2c.1.html
+++ b/doc/aria2c.1.html
@@ -2077,6 +2077,18 @@ name.
+--on-bt-download-complete=COMMAND
+
+
+
+ For BitTorrent, a command specified in --on-download-complete is
+ called when download completes and seeding is over. On the other
+ hand, this option set the command to be executed when download
+ completes but before seeding. See --on-download-start option for
+ the requirement of COMMAND. Possible Values: /path/to/command
+
+
+
--on-download-complete=COMMAND
@@ -4230,7 +4242,7 @@ files in the program, then also delete it here.