From 8690b03b0c7f6c30f5fa319ad82243ad2863daca Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Tue, 11 Jun 2024 16:55:30 +0100 Subject: [PATCH] Improve event handler doc (#6124) --- cylc/flow/cfgspec/workflow.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cylc/flow/cfgspec/workflow.py b/cylc/flow/cfgspec/workflow.py index 1532c6ad5ed..1e1fb73f712 100644 --- a/cylc/flow/cfgspec/workflow.py +++ b/cylc/flow/cfgspec/workflow.py @@ -413,9 +413,10 @@ def get_script_common_text(this: str, example: Optional[str] = None): {item} = echo %(workflow)s # configure multiple event handlers + # (which will run in parallel) {item} = \\ - 'echo %(workflow)s, %(event)s', \\ - 'my_exe %(event)s %(message)s' \\ + 'echo %(workflow)s %(event)s', \\ + 'my_exe %(event)s %(message)s', \\ 'curl -X PUT -d event=%(event)s host:port' ''') elif item.startswith("abort on"):