diff --git a/src/plugins/trigger/trigger-command.c b/src/plugins/trigger/trigger-command.c index 953632727..48b98b477 100644 --- a/src/plugins/trigger/trigger-command.c +++ b/src/plugins/trigger/trigger-command.c @@ -746,12 +746,11 @@ trigger_command_init () "\n" "When a trigger callback is called, following actions are performed, " "in this order:\n" - " 1. if no regex/command is defined, exit\n" - " 2. check conditions; if false, exit\n" - " 3. replace text using regex (if defined in trigger)\n" - " 4. execute command (if defined in trigger)\n" - "Note: on steps 1 and 2, the exit is made with the return code " - "defined in trigger (or NULL for a modifier).\n" + " 1. check conditions; if false, exit\n" + " 2. replace text using POSIX extended regular expression(s) (if " + "defined in trigger)\n" + " 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"