summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-09 19:34:20 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-08-14 05:58:41 (GMT)
commitc401fc5dee64e5a678f74cc745296c902e7a4f88 (patch)
treee88f2064dbb1443a40536bb7c2468eefbeddf6a9
parent28ecfd1690fe949274a7be8cd1869b68bef7f64d (diff)
downloadCMake-c401fc5dee64e5a678f74cc745296c902e7a4f88.zip
CMake-c401fc5dee64e5a678f74cc745296c902e7a4f88.tar.gz
CMake-c401fc5dee64e5a678f74cc745296c902e7a4f88.tar.bz2
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.
-rw-r--r--Help/manual/cmake.1.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 26f9d7c..755e1c4 100644
--- a/Help/manual/cmake.1.rst
+++ b/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>