1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

exec: update help descriptions for command /exec to keep compatibility between options

Related-Bug: #877
This commit is contained in:
AYANOKOUZI, Ryuunosuke
2017-01-07 07:56:30 +01:00
committed by Sébastien Helleu
parent 18833a8c93
commit add0be28d9
+8 -7
View File
@@ -813,7 +813,8 @@ exec_command_init ()
"the command has some unsafe data, for example the content of a "
"message from another user) (default)\n"
" -bg: run process in background: do not display process output "
"neither return code (not compatible with options -o/-n)\n"
"neither return code (not compatible with options "
"-o/-oc/-n/-nf/-pipe/-hsignal)\n"
" -nobg: catch process output and display return code (default)\n"
" -stdin: create a pipe for sending data to the process (with "
"/exec -in/-inclose)\n"
@@ -823,15 +824,15 @@ exec_command_init ()
"created)\n"
" -l: display locally output of command on buffer (default)\n"
" -o: send output of command to the buffer without executing "
"commands (not compatible with option -bg)\n"
"commands (not compatible with options -bg/-pipe/-hsignal)\n"
" -oc: send output of command to the buffer and execute commands "
"(lines starting with \"/\" or another custom command char) "
"(not compatible with option -bg)\n"
"(not compatible with options -bg/-pipe/-hsignal)\n"
" -n: display output of command in a new buffer (not compatible "
"with option -bg)\n"
"with options -bg/-pipe/-hsignal)\n"
" -nf: display output of command in a new buffer with free "
"content (no word-wrap, no limit on number of lines) (not compatible "
"with option -bg)\n"
"with options -bg/-pipe/-hsignal)\n"
" -cl: clear the new buffer before displaying output\n"
" -nocl: append to the new buffer without clear (default)\n"
" -sw: switch to the output buffer (default)\n"
@@ -854,9 +855,9 @@ exec_command_init ()
"line); if there are spaces in command/arguments, enclose them with "
"double quotes; variable $line is replaced by the line (by default "
"the line is added after the command, separated by a space) "
"(not compatible with options -bg/-o/-n)\n"
"(not compatible with options -bg/-o/-oc/-n/-nf)\n"
"-hsignal: send the output as a hsignal (to be used for example in "
"a trigger) (not compatible with options -bg/-o/-n)\n"
"a trigger) (not compatible with options -bg/-o/-oc/-n/-nf)\n"
" command: the command to execute; if beginning with \"url:\", the "
"shell is disabled and the content of URL is downloaded and sent as "
"output\n"