summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/clang-modernize.rst
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/docs/clang-modernize.rst')
-rw-r--r--clang-tools-extra/docs/clang-modernize.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/docs/clang-modernize.rst b/clang-tools-extra/docs/clang-modernize.rst
index cec6a8baa54..c1adcab1f1d 100644
--- a/clang-tools-extra/docs/clang-modernize.rst
+++ b/clang-tools-extra/docs/clang-modernize.rst
@@ -51,7 +51,7 @@ args, it's probably best to use a *compilation database*.
A `compilation database`_ contains the command-line arguments for multiple
files. If the code you want to transform can be built with CMake, you can
generate this database easily by running CMake with the
-``-DCMAKE_EXPORT_COMPILE_COMMANDS`` option. The Ninja_ build system, since
+``-DCMAKE_EXPORT_COMPILE_COMMANDS=ON`` option. The Ninja_ build system, since
v1.2, can create this file too using the *compdb* tool: ``ninja -t compdb``. If
you're not already using either of these tools or cannot easily make use of
them you might consider looking into Bear_.
OpenPOWER on IntegriCloud