From 8b7e3d4892e27735c4c3f80bf71a726c9f88c1bd Mon Sep 17 00:00:00 2001 From: Ben Sherman Date: Wed, 26 Jul 2023 04:26:53 -0500 Subject: [PATCH] Document behavior of withName selector with included aliases (#4129) Signed-off-by: Ben Sherman --- docs/config.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/config.md b/docs/config.md index ed1c11cb4f..76d5fa2b99 100644 --- a/docs/config.md +++ b/docs/config.md @@ -1173,6 +1173,10 @@ process { } ``` +:::{note} +The `withName` selector applies to a process even when it is included from a module under an alias. For example, `withName: hello` will apply to any process originally defined as `hello`, regardless of whether it is included under an alias. Similarly, it will not apply to any process not originally defined as `hello`, even if it is included under the alias `hello`. +::: + :::{tip} Label and process names do not need to be enclosed with quotes, provided the name does not include special characters (`-`, `!`, etc) and is not a keyword or a built-in type identifier. When in doubt, you can enclose the label name or process name with single or double quotes. :::