mirror of https://github.com/aria2/aria2
Updated usage of --on-download-* options.
parent
934c185e79
commit
0271ec0352
|
@ -538,30 +538,31 @@
|
||||||
" based on the response of tracker and the download\n" \
|
" based on the response of tracker and the download\n" \
|
||||||
" progress.")
|
" progress.")
|
||||||
#define TEXT_ON_DOWNLOAD_COMPLETE \
|
#define TEXT_ON_DOWNLOAD_COMPLETE \
|
||||||
_(" --on-download-complete=COMMAND Set the command to be executed when download\n" \
|
_(" --on-download-complete=COMMAND Set the command to be executed after download\n" \
|
||||||
" completes.\n" \
|
" completed.\n" \
|
||||||
" See --on-download-start option for the\n" \
|
" See --on-download-start option for the\n" \
|
||||||
" requirement of COMMAND.\n" \
|
" requirement of COMMAND.\n" \
|
||||||
" See also --on-download-stop option.")
|
" See also --on-download-stop option.")
|
||||||
#define TEXT_ON_DOWNLOAD_START \
|
#define TEXT_ON_DOWNLOAD_START \
|
||||||
_(" --on-download-start=COMMAND Set the command to be executed when download\n" \
|
_(" --on-download-start=COMMAND Set the command to be executed after download\n" \
|
||||||
" starts up. COMMAND must take just one argument and\n" \
|
" got started. aria2 passes 3 arguments to COMMAND:\n" \
|
||||||
" GID is passed to COMMAND as a first argument.")
|
" GID, the nubmer of files and file path. See Event\n" \
|
||||||
|
" Hook in man page for more details.")
|
||||||
#define TEXT_ON_DOWNLOAD_PAUSE \
|
#define TEXT_ON_DOWNLOAD_PAUSE \
|
||||||
_(" --on-download-pause=COMMAND Set the command to be executed when download\n" \
|
_(" --on-download-pause=COMMAND Set the command to be executed after download\n" \
|
||||||
" is paused.\n"\
|
" was paused.\n"\
|
||||||
" See --on-download-start option for the\n" \
|
" See --on-download-start option for the\n" \
|
||||||
" requirement of COMMAND.")
|
" requirement of COMMAND.")
|
||||||
#define TEXT_ON_DOWNLOAD_ERROR \
|
#define TEXT_ON_DOWNLOAD_ERROR \
|
||||||
_(" --on-download-error=COMMAND Set the command to be executed when download\n" \
|
_(" --on-download-error=COMMAND Set the command to be executed after download\n" \
|
||||||
" aborts due to error.\n" \
|
" aborted due to error.\n" \
|
||||||
" See --on-download-start option for the\n" \
|
" See --on-download-start option for the\n" \
|
||||||
" requirement of COMMAND.\n" \
|
" requirement of COMMAND.\n" \
|
||||||
" See also --on-download-stop option.")
|
" See also --on-download-stop option.")
|
||||||
#define TEXT_ON_DOWNLOAD_STOP \
|
#define TEXT_ON_DOWNLOAD_STOP \
|
||||||
_(" --on-download-stop=COMMAND Set the command to be executed when download\n" \
|
_(" --on-download-stop=COMMAND Set the command to be executed after download\n" \
|
||||||
" stops. You can override the command to be executed\n" \
|
" stopped. You can override the command to be\n" \
|
||||||
" for particular download result using\n" \
|
" executed for particular download result using\n" \
|
||||||
" --on-download-complete and --on-download-error. If\n" \
|
" --on-download-complete and --on-download-error. If\n" \
|
||||||
" they are specified, command specified in this\n" \
|
" they are specified, command specified in this\n" \
|
||||||
" option is not executed.\n" \
|
" option is not executed.\n" \
|
||||||
|
@ -701,10 +702,10 @@
|
||||||
" many limitations. See man page for details.")
|
" many limitations. See man page for details.")
|
||||||
#define TEXT_ON_BT_DOWNLOAD_COMPLETE \
|
#define TEXT_ON_BT_DOWNLOAD_COMPLETE \
|
||||||
_(" --on-bt-download-complete=COMMAND For BitTorrent, a command specified in\n" \
|
_(" --on-bt-download-complete=COMMAND For BitTorrent, a command specified in\n" \
|
||||||
" --on-download-complete is called when download\n" \
|
" --on-download-complete is called after download\n" \
|
||||||
" completes and seeding is over. On the other hand,\n" \
|
" completed and seeding is over. On the other hand,\n" \
|
||||||
" this option sets the command to be executed when\n" \
|
" this option sets the command to be executed after\n" \
|
||||||
" download completes but before seeding.\n" \
|
" download completed but before seeding.\n" \
|
||||||
" See --on-download-start option for the\n" \
|
" See --on-download-start option for the\n" \
|
||||||
" requirement of COMMAND.")
|
" requirement of COMMAND.")
|
||||||
#define TEXT_ENABLE_ASYNC_DNS6 \
|
#define TEXT_ENABLE_ASYNC_DNS6 \
|
||||||
|
|
Loading…
Reference in New Issue