Help: Simplify optional repeating option

Similar form has already been used in the `ctest -M <mode> [-T <step>]...`
synopsis and looks quite clean w/o extra characters.
This commit is contained in:
Alex Turbov
2022-08-09 23:34:20 +04:00
parent 28ecfd1690
commit c401fc5dee
+2 -2
View File
@@ -22,7 +22,7 @@ Synopsis
cmake --open <dir>
`Run a Script`_
cmake [{-D <var>=<value>}...] -P <cmake-script-file>
cmake [-D <var>=<value>]... -P <cmake-script-file>
`Run a Command-Line Tool`_
cmake -E <command> [<options>]
@@ -668,7 +668,7 @@ Run a Script
.. code-block:: shell
cmake [{-D <var>=<value>}...] -P <cmake-script-file> [-- <unparsed-options>...]
cmake [-D <var>=<value>]... -P <cmake-script-file> [-- <unparsed-options>...]
.. option:: -D <var>=<value>