Browse Source

Merge topic 'doc/install-remove-superfluous-dots'

231b336ad2 Help: Fix typo in `install` documentation
01ea8dc368 Help: Correct use of dots ([...]) in `install` command signatures

Acked-by: Kitware Robot <[email protected]>
Merge-request: !11659
Brad King 3 weeks ago
parent
commit
39a0fb289d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Help/command/install.rst

+ 4 - 4
Help/command/install.rst

@@ -498,7 +498,7 @@ Signatures
              [CONFIGURATIONS <config>...]
              [COMPONENT <component>]
              [OPTIONAL] [EXCLUDE_FROM_ALL]
-            ] [...]
+            ]...
             )
 
   The ``IMPORTED_RUNTIME_ARTIFACTS`` form specifies rules for installing the
@@ -792,7 +792,7 @@ Signatures
       Exclude the matched file or directory from installation.
 
     ``PERMISSIONS <permission>...``
-      Ovrerride the permissions setting for the matched file or directory.
+      Override the permissions setting for the matched file or directory.
 
     For example, the code
 
@@ -819,7 +819,7 @@ Signatures
 
     install([[SCRIPT <file>] [CODE <code>]]
             [ALL_COMPONENTS | COMPONENT <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 <component>]
              [NAMELINK_COMPONENT <component>]
              [OPTIONAL] [EXCLUDE_FROM_ALL]
-            ] [...]
+            ]...
             [PRE_INCLUDE_REGEXES <regex>...]
             [PRE_EXCLUDE_REGEXES <regex>...]
             [POST_INCLUDE_REGEXES <regex>...]