mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 15:20:56 -06:00
Help: Fix command-line synopsis markup syntax
Use `{}` to surround required parts instead of `()`.
Fixes: #17917
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user