Help: Short options first, then long, then Windows style

This commit is contained in:
Alex Turbov
2022-08-09 23:33:17 +04:00
parent 57f23fa8fc
commit 28ecfd1690
5 changed files with 7 additions and 7 deletions

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.