diff options
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/weechat_plugin_api.en.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index 987e4e794..a61157f24 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -6715,7 +6715,12 @@ Arguments: ** 'void *data': pointer ** 'const char *command': command executed by child ** 'int return_code': return code: -*** '>= 0': child command return code +*** '>= 0': child return code for a command, and for URL possible values are: +**** '0': transfer ok +**** '1': invalid URL +**** '2': transfer error +**** '3': not enough memory +**** '4': error with a file *** '< 0': 'WEECHAT_HOOK_PROCESS_RUNNING' (data available, but child still running) or 'WEECHAT_HOOK_PROCESS_ERROR' (error when launching command) ** 'out': standard output of command (stdout) |