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.
Alex Turbov 3 years ago
parent
commit
c401fc5dee
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Help/manual/cmake.1.rst

+ 2 - 2
Help/manual/cmake.1.rst

@@ -22,7 +22,7 @@ Synopsis
   cmake --open <dir>
   cmake --open <dir>
 
 
  `Run a Script`_
  `Run a Script`_
-  cmake [{-D <var>=<value>}...] -P <cmake-script-file>
+  cmake [-D <var>=<value>]... -P <cmake-script-file>
 
 
  `Run a Command-Line Tool`_
  `Run a Command-Line Tool`_
   cmake -E <command> [<options>]
   cmake -E <command> [<options>]
@@ -668,7 +668,7 @@ Run a Script
 
 
 .. code-block:: shell
 .. 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>
 .. option:: -D <var>=<value>