Skip to content

Commit 8b7e3d4

Browse files
authored
Document behavior of withName selector with included aliases (#4129)
Signed-off-by: Ben Sherman <[email protected]>
1 parent 46e828e commit 8b7e3d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/config.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,6 +1173,10 @@ process {
11731173
}
11741174
```
11751175

1176+
:::{note}
1177+
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`.
1178+
:::
1179+
11761180
:::{tip}
11771181
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.
11781182
:::

0 commit comments

Comments
 (0)