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
.. parsed-literal::
ccmake [<options>] (<path-to-source> | <path-to-existing-build>)
ccmake [<options>] {<path-to-source> | <path-to-existing-build>}
Description
===========
......
......@@ -9,7 +9,7 @@ Synopsis
.. parsed-literal::
cmake-gui [<options>]
cmake-gui [<options>] (<path-to-source> | <path-to-existing-build>)
cmake-gui [<options>] {<path-to-source> | <path-to-existing-build>}
Description
===========
......
......@@ -8,8 +8,8 @@ Synopsis
.. parsed-literal::
cmake [<options>] (<path-to-source> | <path-to-existing-build>)
cmake [(-D <var>=<value>)...] -P <cmake-script-file>
cmake [<options>] {<path-to-source> | <path-to-existing-build>}
cmake [{-D <var>=<value>}...] -P <cmake-script-file>
cmake --build <dir> [<options>...] [-- <build-tool-options>...]
cmake --open <dir>
cmake -E <command> [<options>...]
......
......@@ -13,7 +13,7 @@ Synopsis
ctest [<options>]
ctest <path-to-source> <path-to-build> --build-generator <generator>
[<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>...]
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