summaryrefslogtreecommitdiff
path: root/src/plugins/trigger
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-02-15 11:25:19 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-02-15 11:25:19 +0100
commit56f74ae7685b388696a56a0b70a5df3263bd40c9 (patch)
treebdb68fcb0a6368db645fc12f1da0a3691cf376cd /src/plugins/trigger
parent4028e5c200f6eebfcce25de1a5b4b4753f08629a (diff)
downloadweechat-56f74ae7685b388696a56a0b70a5df3263bd40c9.zip
trigger: remove triggers in /help trigger that are already default triggers
Diffstat (limited to 'src/plugins/trigger')
-rw-r--r--src/plugins/trigger/trigger-command.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/plugins/trigger/trigger-command.c b/src/plugins/trigger/trigger-command.c
index 1fa71c709..0cfcf94dd 100644
--- a/src/plugins/trigger/trigger-command.c
+++ b/src/plugins/trigger/trigger-command.c
@@ -983,14 +983,8 @@ trigger_command_init ()
" 3. execute command(s) (if defined in trigger)\n"
" 4. exit with a return code (except for modifiers)\n"
"\n"
- "Examples:\n"
- " send alert (BEL) on highlight or private message:\n"
- " /trigger add beep print \"\" \"${tg_highlight} || ${tg_msg_pv}\" "
- "\"\" \"/print -stderr \\a\"\n"
- " replace password with '*' in /oper command (in command line and "
- "command history):\n"
- " /trigger add oper modifier input_text_display;history_add "
- "\"\" \"==^(/oper +\\S+ +)(.*)==$1$.*2\"\n"
+ "Examples (you can also look at default triggers with /trigger "
+ "listdefault):\n"
" add text attributes *bold*, _underline_ and /italic/ (only in "
"user messages):\n"
" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" "