diff options
author | Brad King <brad.king@kitware.com> | 2014-01-08 16:14:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-01-08 16:16:48 (GMT) |
commit | b17729460ba66ec96ad0a79dd52c0557e81a895f (patch) | |
tree | 8eedfabe561bca4b7013fef18fd8920c8997c945 /Source/cmDocumentationFormatter.h | |
parent | beb9cfae1798ef3e25be8d1cec7ce9ae33abec7b (diff) | |
download | CMake-b17729460ba66ec96ad0a79dd52c0557e81a895f.zip CMake-b17729460ba66ec96ad0a79dd52c0557e81a895f.tar.gz CMake-b17729460ba66ec96ad0a79dd52c0557e81a895f.tar.bz2 |
cmake: Implement placeholder --help-custom-modules compatibility
The implementation of the "cmake --help-custom-modules" was removed
along with the rest of the old help generation infrastructure when
documentation was converted to reStructuredText. In order to avoid
breaking existing project builds outright when they use a custom command
that runs a command like "cmake --help-custom-modules foo.1", generate
the requested file with placeholder content explaining that the option
is not supported anymore.
Diffstat (limited to 'Source/cmDocumentationFormatter.h')
-rw-r--r-- | Source/cmDocumentationFormatter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmDocumentationFormatter.h b/Source/cmDocumentationFormatter.h index c7da52c..118f03d 100644 --- a/Source/cmDocumentationFormatter.h +++ b/Source/cmDocumentationFormatter.h @@ -28,7 +28,8 @@ public: { None, Version, Usage, ListManuals, ListCommands, ListModules, ListProperties, ListVariables, ListPolicies, - OneManual, OneCommand, OneModule, OneProperty, OneVariable, OnePolicy + OneManual, OneCommand, OneModule, OneProperty, OneVariable, OnePolicy, + OldCustomModules }; }; |