diff --git a/Help/manual/OPTIONS_BUILD.txt b/Help/manual/OPTIONS_BUILD.txt index e4c5873bb..4207db406 100644 --- a/Help/manual/OPTIONS_BUILD.txt +++ b/Help/manual/OPTIONS_BUILD.txt @@ -27,6 +27,9 @@ command in the project sets the type to ``PATH`` or ``FILEPATH`` then the ```` will be converted to an absolute path. + This option may also be given as a single argument: + ``-D:=`` or ``-D=``. + ``-U `` Remove matching entries from CMake cache. diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index b2f7e9d36..4bd5a5ec7 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -9,7 +9,7 @@ Synopsis .. parsed-literal:: cmake [] ( | ) - cmake [(-D=)...] -P + cmake [(-D =)...] -P cmake --build [] [-- ...] cmake -E [...] cmake --find-package ... diff --git a/Source/cmake.h b/Source/cmake.h index 0d1977eac..0a1ee7d79 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -403,7 +403,7 @@ private: #define CMAKE_STANDARD_OPTIONS_TABLE \ {"-C ", "Pre-load a script to populate the cache."}, \ - {"-D :=", "Create a cmake cache entry."}, \ + {"-D [:]=", "Create a cmake cache entry."}, \ {"-U ", "Remove matching entries from CMake cache."}, \ {"-G ", "Specify a build system generator."},\ {"-T ", "Specify toolset name if supported by generator."}, \