mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 11:10:06 -05:00
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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user