summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2019-10-09 12:55:43 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-10 13:20:50 (GMT)
commit7bbddeb78d46193eda9c2a948040e50012fbe33b (patch)
treef4255eca8b53009ac3414d02fabc1f9b673e08b5 /Help/manual
parentead89868ba09bb331ae31c116f1cec4a44713b3b (diff)
downloadCMake-7bbddeb78d46193eda9c2a948040e50012fbe33b.zip
CMake-7bbddeb78d46193eda9c2a948040e50012fbe33b.tar.gz
CMake-7bbddeb78d46193eda9c2a948040e50012fbe33b.tar.bz2
CLI: Rename --loglevel to --log-level for naming consistency
Other multi-word command line options use hyphens to separate the words, so the --loglevel option introduced in CMake 3.15 was inconsistent in this regard. Rename it to --log-level but still support the original --loglevel name to preserve backward compatibility.
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake.1.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 754f14b..4ab55a0 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -200,12 +200,15 @@ Options
from the top of a binary tree for a CMake project it will dump
additional information such as the cache, log files etc.
-``--loglevel=<ERROR|WARNING|NOTICE|STATUS|VERBOSE|DEBUG|TRACE>``
+``--log-level=<ERROR|WARNING|NOTICE|STATUS|VERBOSE|DEBUG|TRACE>``
Set the log level.
The :command:`message` command will only output messages of the specified
log level or higher. The default log level is ``STATUS``.
+ For backward compatibility reasons, ``--loglevel`` is also accepted as a
+ synonym for this option.
+
``--debug-trycompile``
Do not delete the :command:`try_compile` build tree.
Only useful on one :command:`try_compile` at a time.