Updated man page for --on-download-start. Mentioned about 2 new

arguments.
pull/1/head
Tatsuhiro Tsujikawa 2010-12-04 21:11:09 +09:00
parent adcfffeccb
commit 044e6df7ac
1 changed files with 9 additions and 3 deletions

View File

@ -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
*<<aria2_xmlrpc_aria2_getFiles, aria2.getFiles>>*
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::