From 01ea8dc368684b1e5747e426bf22fc499897fc6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= Date: Wed, 4 Feb 2026 23:33:09 +0100 Subject: [PATCH] Help: Correct use of dots ([...]) in `install` command signatures Only the short form of command have the [...] at the end to indicate further possible arguments. Repeating of a block is indicated by ..., not [...]. --- Help/command/install.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Help/command/install.rst b/Help/command/install.rst index b2b85b30da..c066055409 100644 --- a/Help/command/install.rst +++ b/Help/command/install.rst @@ -498,7 +498,7 @@ Signatures [CONFIGURATIONS ...] [COMPONENT ] [OPTIONAL] [EXCLUDE_FROM_ALL] - ] [...] + ]... ) The ``IMPORTED_RUNTIME_ARTIFACTS`` form specifies rules for installing the @@ -819,7 +819,7 @@ Signatures install([[SCRIPT ] [CODE ]] [ALL_COMPONENTS | COMPONENT ] - [EXCLUDE_FROM_ALL] [...]) + [EXCLUDE_FROM_ALL]) The ``SCRIPT`` form will invoke the given CMake script files during installation. If the script file name is a relative path it will be @@ -1138,7 +1138,7 @@ Signatures [COMPONENT ] [NAMELINK_COMPONENT ] [OPTIONAL] [EXCLUDE_FROM_ALL] - ] [...] + ]... [PRE_INCLUDE_REGEXES ...] [PRE_EXCLUDE_REGEXES ...] [POST_INCLUDE_REGEXES ...]