summaryrefslogtreecommitdiff
path: root/src/plugins/exec
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-03-15 19:40:15 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-03-15 19:40:15 +0100
commit4245de528ee2cc0d63fe7dd01174da011b649b8d (patch)
treedac62a1e9471dce5ba1392b29759fcc0a0ef5062 /src/plugins/exec
parentff636cae892ec7ed44bf403b19144487525a5b4d (diff)
downloadweechat-4245de528ee2cc0d63fe7dd01174da011b649b8d.zip
exec: add examples in /help exec
Diffstat (limited to 'src/plugins/exec')
-rw-r--r--src/plugins/exec/exec-command.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/plugins/exec/exec-command.c b/src/plugins/exec/exec-command.c
index ea919cc6d..982c95ee4 100644
--- a/src/plugins/exec/exec-command.c
+++ b/src/plugins/exec/exec-command.c
@@ -741,7 +741,13 @@ exec_command_init ()
" -all: delete all terminated commands\n"
"\n"
"Default options can be set in the option "
- "exec.command.default_options."),
+ "exec.command.default_options.\n"
+ "\n"
+ "Examples:\n"
+ " /exec -n ls -l /tmp\n"
+ " /exec -n ps xu | grep weechat\n"
+ " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n"
+ " /exec -o uptime"),
"-list"
" || -sh|-nosh|-bg|-nobg|-stdin|-nostdin|-buffer|-l|-o|-n|-sw|-nosw|"
"-ln|-noln|-color|-timeout|-name|%*"