From 7c5cbefd51943a4481749d989b7c47a3721095bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 8 Apr 2021 20:56:37 +0200 Subject: [PATCH] trigger: fix description of function trigger_name_valid --- src/plugins/trigger/trigger.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/trigger/trigger.c b/src/plugins/trigger/trigger.c index 744c4b20b..69971848d 100644 --- a/src/plugins/trigger/trigger.c +++ b/src/plugins/trigger/trigger.c @@ -826,8 +826,9 @@ trigger_split_command (const char *command, } /* - * Checks if a trigger name is valid: it must not start with "-" and not have - * any spaces. + * Checks if a trigger name is valid: + * - it must not start with "-" + * - it must not have any space/period. * * Returns: * 1: name is valid