summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Help/manual/OPTIONS_HELP.txt4
-rw-r--r--Help/manual/cmake.1.rst2
-rw-r--r--Help/manual/cpack.1.rst2
-rw-r--r--Source/CPack/cpack.cxx2
-rw-r--r--Source/cmakemain.cxx4
5 files changed, 7 insertions, 7 deletions
diff --git a/Help/manual/OPTIONS_HELP.txt b/Help/manual/OPTIONS_HELP.txt
index 00e571406d..0e51a7fa69 100644
--- a/Help/manual/OPTIONS_HELP.txt
+++ b/Help/manual/OPTIONS_HELP.txt
@@ -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.
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index c5d3016612..26f9d7c35e 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -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.
diff --git a/Help/manual/cpack.1.rst b/Help/manual/cpack.1.rst
index 4861e952fb..a95df8b1c3 100644
--- a/Help/manual/cpack.1.rst
+++ b/Help/manual/cpack.1.rst
@@ -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.
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index 221f7ddbb2..4d9a42a472 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -50,7 +50,7 @@ const char* cmDocumentationOptions[][2] = {
{ "-C <Configuration>", "Specify the project configuration" },
{ "-D <var>=<value>", "Set a CPack variable." },
{ "--config <configFile>", "Specify the config file." },
- { "--verbose,-V", "Enable verbose output" },
+ { "-V,--verbose", "Enable verbose output" },
{ "--trace", "Put underlying cmake scripts in trace mode." },
{ "--trace-expand", "Put underlying cmake scripts in expanded trace mode." },
{ "--debug", "Enable debug output (for CPack developers)" },
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index c83508b3fe..5837bc5cbc 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -627,14 +627,14 @@ int do_build(int ac, char const* const* av)
" specifies a default parallel level when this "
"option\n"
" is not given.\n"
- " --target <tgt>..., -t <tgt>... \n"
+ " -t <tgt>..., --target <tgt>...\n"
" = Build <tgt> instead of default targets.\n"
" --config <cfg> = For multi-configuration tools, choose <cfg>.\n"
" --clean-first = Build target 'clean' first, then build.\n"
" (To clean only, use --target 'clean'.)\n"
" --resolve-package-references={on|only|off}\n"
" = Restore/resolve package references during build.\n"
- " --verbose, -v = Enable verbose output - if supported - including\n"
+ " -v, --verbose = Enable verbose output - if supported - including\n"
" the build commands to be executed. \n"
" -- = Pass remaining options to the native tool.\n"
;