Browse Source

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.
pull/354/head
Alex Turbov 3 years ago
parent
commit
c401fc5dee
  1. 4
      Help/manual/cmake.1.rst

4
Help/manual/cmake.1.rst

@ -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>

Loading…
Cancel
Save