Commit 909ab169 authored by Brad King's avatar Brad King

Help: Fix command-line synopsis markup syntax

Use `{}` to surround required parts instead of `()`.

Fixes: #17917
parent 9260dedf
...@@ -8,7 +8,7 @@ Synopsis ...@@ -8,7 +8,7 @@ Synopsis
.. parsed-literal:: .. parsed-literal::
ccmake [<options>] (<path-to-source> | <path-to-existing-build>) ccmake [<options>] {<path-to-source> | <path-to-existing-build>}
Description Description
=========== ===========
......
...@@ -9,7 +9,7 @@ Synopsis ...@@ -9,7 +9,7 @@ Synopsis
.. parsed-literal:: .. parsed-literal::
cmake-gui [<options>] cmake-gui [<options>]
cmake-gui [<options>] (<path-to-source> | <path-to-existing-build>) cmake-gui [<options>] {<path-to-source> | <path-to-existing-build>}
Description Description
=========== ===========
......
...@@ -8,8 +8,8 @@ Synopsis ...@@ -8,8 +8,8 @@ Synopsis
.. parsed-literal:: .. parsed-literal::
cmake [<options>] (<path-to-source> | <path-to-existing-build>) cmake [<options>] {<path-to-source> | <path-to-existing-build>}
cmake [(-D <var>=<value>)...] -P <cmake-script-file> cmake [{-D <var>=<value>}...] -P <cmake-script-file>
cmake --build <dir> [<options>...] [-- <build-tool-options>...] cmake --build <dir> [<options>...] [-- <build-tool-options>...]
cmake --open <dir> cmake --open <dir>
cmake -E <command> [<options>...] cmake -E <command> [<options>...]
......
...@@ -13,7 +13,7 @@ Synopsis ...@@ -13,7 +13,7 @@ Synopsis
ctest [<options>] ctest [<options>]
ctest <path-to-source> <path-to-build> --build-generator <generator> ctest <path-to-source> <path-to-build> --build-generator <generator>
[<options>...] [-- <build-options>...] [--test-command <test>] [<options>...] [-- <build-options>...] [--test-command <test>]
ctest (-D <dashboard> | -M <model> -T <action> | -S <script> | -SP <script>) ctest {-D <dashboard> | -M <model> -T <action> | -S <script> | -SP <script>}
[-- <dashboard-options>...] [-- <dashboard-options>...]
Description Description
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment