summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-10-10 13:21:36 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-10 13:21:36 (GMT)
commit580e322dcbc3cfe8cbe08491564fe2aeb727b811 (patch)
tree0579597d243cb6e91c1ac0421697507df3876580 /Source/cmakemain.cxx
parente5419f4f873d8c233c9903a813866bc0c759dfc9 (diff)
parent7bbddeb78d46193eda9c2a948040e50012fbe33b (diff)
downloadCMake-580e322dcbc3cfe8cbe08491564fe2aeb727b811.zip
CMake-580e322dcbc3cfe8cbe08491564fe2aeb727b811.tar.gz
CMake-580e322dcbc3cfe8cbe08491564fe2aeb727b811.tar.bz2
Merge branch 'rename_loglevel_option' into release-3.16
Merge-request: !3899
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index cc00c81..6d3e6ee 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -70,8 +70,9 @@ const char* cmDocumentationOptions[][2] = {
"Generate graphviz of dependencies, see "
"CMakeGraphVizOptions.cmake for more." },
{ "--system-information [file]", "Dump information about this system." },
- { "--loglevel=<ERROR|WARNING|NOTICE|STATUS|VERBOSE|DEBUG|TRACE>",
- "Set the verbosity of messages from CMake files." },
+ { "--log-level=<ERROR|WARNING|NOTICE|STATUS|VERBOSE|DEBUG|TRACE>",
+ "Set the verbosity of messages from CMake files. "
+ "--loglevel is also accepted for backward compatibility reasons." },
{ "--debug-trycompile",
"Do not delete the try_compile build tree. Only "
"useful on one try_compile at a time." },