diff options
Diffstat (limited to 'clang-tools-extra/docs/ModernizerUsage.rst')
| -rw-r--r-- | clang-tools-extra/docs/ModernizerUsage.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/docs/ModernizerUsage.rst b/clang-tools-extra/docs/ModernizerUsage.rst index d5ef9ae9ef6..9f88f288c87 100644 --- a/clang-tools-extra/docs/ModernizerUsage.rst +++ b/clang-tools-extra/docs/ModernizerUsage.rst @@ -38,9 +38,9 @@ General Command Line Options ``<build-path>`` is the directory containing a *compilation databasefile*, a file named ``compile_commands.json``, which provides compiler arguments for building each source file. CMake can generate this file by specifying - ``-DCMAKE_EXPORT_COMPILE_COMMANDS`` when running CMake. Ninja_, since v1.2 can - also generate this file with ``ninja -t compdb``. If the compilation database - cannot be used for any reason, an error is reported. + ``-DCMAKE_EXPORT_COMPILE_COMMANDS=ON`` when running CMake. Ninja_, since v1.2 + can also generate this file with ``ninja -t compdb``. If the compilation + database cannot be used for any reason, an error is reported. This option is ignored if ``--`` is present. |

