mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-01 12:18:36 -06:00
Help: Short options first, then long, then Windows style
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
.. |file| replace:: The help is printed to a named ``<file>`` if given.
|
||||
|
||||
.. option:: --help, -help, -usage, -h, -H, /?
|
||||
.. option:: -h, -H, --help, -help, -usage, /?
|
||||
|
||||
Print usage information and exit.
|
||||
|
||||
Usage describes the basic command line interface and its options.
|
||||
|
||||
.. option:: --version, -version, /V [<file>]
|
||||
.. option:: -version [<file>], --version [<file>], /V [<file>]
|
||||
|
||||
Show program name/version banner and exit.
|
||||
|
||||
|
||||
@@ -545,7 +545,7 @@ following options:
|
||||
Some native build tools always build in parallel. The use of ``<jobs>``
|
||||
value of ``1`` can be used to limit to a single job.
|
||||
|
||||
.. option:: --target <tgt>..., -t <tgt>...
|
||||
.. option:: -t <tgt>..., --target <tgt>...
|
||||
|
||||
Build ``<tgt>`` instead of the default target. Multiple targets may be
|
||||
given, separated by spaces.
|
||||
|
||||
@@ -73,7 +73,7 @@ Options
|
||||
details. By default, ``CPackConfig.cmake`` in the current directory will
|
||||
be used.
|
||||
|
||||
.. option:: --verbose, -V
|
||||
.. option:: -V, --verbose
|
||||
|
||||
Run ``cpack`` with verbose output. This can be used to show more details
|
||||
from the package generation tools and is suitable for project developers.
|
||||
|
||||
Reference in New Issue
Block a user