summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-09 20:25:21 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-08-14 05:58:41 (GMT)
commit8ba20cb56f90d31271138ce5d0934835cc47b459 (patch)
treeffeffab5f8bf4b012228d37bfed0857c5fe47fc6
parent146e4e6bad0f8984ccdc94eec0229198e1063efe (diff)
downloadCMake-8ba20cb56f90d31271138ce5d0934835cc47b459.zip
CMake-8ba20cb56f90d31271138ce5d0934835cc47b459.tar.gz
CMake-8ba20cb56f90d31271138ce5d0934835cc47b459.tar.bz2
Help: Simplify `cmake --log-level` option definition
-rw-r--r--Help/manual/cmake.1.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 755e1c4..1e44b6c 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -242,12 +242,13 @@ Options
from the top of a binary tree for a CMake project it will dump
additional information such as the cache, log files etc.
-.. option:: --log-level=<ERROR|WARNING|NOTICE|STATUS|VERBOSE|DEBUG|TRACE>
+.. option:: --log-level=<level>
- Set the log level.
+ 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``.
+ log level or higher. The valid log levels are ``ERROR``, ``WARNING``,
+ ``NOTICE``, ``STATUS`` (default), ``VERBOSE``, ``DEBUG``, or ``TRACE``.
To make a log level persist between CMake runs, set
:variable:`CMAKE_MESSAGE_LOG_LEVEL` as a cache variable instead.