summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_LANG_CLANG_TIDY.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_LANG_CLANG_TIDY.rst')
-rw-r--r--Help/variable/CMAKE_LANG_CLANG_TIDY.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/variable/CMAKE_LANG_CLANG_TIDY.rst b/Help/variable/CMAKE_LANG_CLANG_TIDY.rst
index d1fccbb4d..bd49de369 100644
--- a/Help/variable/CMAKE_LANG_CLANG_TIDY.rst
+++ b/Help/variable/CMAKE_LANG_CLANG_TIDY.rst
@@ -9,5 +9,5 @@ created. For example:
.. code-block:: cmake
- set(CMAKE_CXX_CLANG_TIDY clang-tidy checks=-*,readability-*)
+ set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=-*,readability-*)
add_executable(foo foo.cxx)