summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-09 19:33:17 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-08-14 05:58:41 (GMT)
commit28ecfd1690fe949274a7be8cd1869b68bef7f64d (patch)
treeb4b7dfefb783338a5753c989c14d73a52465cf3f /Source
parent57f23fa8fcd508ac26a2e87deae0704c11e77933 (diff)
downloadCMake-28ecfd1690fe949274a7be8cd1869b68bef7f64d.zip
CMake-28ecfd1690fe949274a7be8cd1869b68bef7f64d.tar.gz
CMake-28ecfd1690fe949274a7be8cd1869b68bef7f64d.tar.bz2
Help: Short options first, then long, then Windows style
Diffstat (limited to 'Source')
-rw-r--r--Source/CPack/cpack.cxx2
-rw-r--r--Source/cmakemain.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index 221f7dd..4d9a42a 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 c83508b..5837bc5 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"
;