From 044e6df7acc3177b72a5fb9b3a3a2687dfbb6c04 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 4 Dec 2010 21:11:09 +0900 Subject: [PATCH] Updated man page for --on-download-start. Mentioned about 2 new arguments. --- doc/aria2c.1.asciidoc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/aria2c.1.asciidoc b/doc/aria2c.1.asciidoc index 358265dd..7be73511 100644 --- a/doc/aria2c.1.asciidoc +++ b/doc/aria2c.1.asciidoc @@ -951,9 +951,15 @@ name. [[aria2_optref_on_download_start]]*--on-download-start*=COMMAND:: - Set the command to be executed when download starts up. COMMAND must - take just one argument and GID is passed to COMMAND as a first - argument. Possible Values: '/path/to/command' + Set the command to be executed when download starts up. aria2 + passes GID, number of files and file path in this order to COMMAND. + If number of files is more than one, file path is first one. In + other words, this is the value of path key of first struct whose + selected key is true in the response of + *<>* + XML-RPC method. Please note that file path may change during download in + HTTP because of redirection or Content-Disposition header. Possible + Values: '/path/to/command' [[aria2_optref_on_download_stop]]*--on-download-stop*=COMMAND::