summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentationFormatter.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-01-08 16:14:06 (GMT)
committerBrad King <brad.king@kitware.com>2014-01-08 16:16:48 (GMT)
commitb17729460ba66ec96ad0a79dd52c0557e81a895f (patch)
tree8eedfabe561bca4b7013fef18fd8920c8997c945 /Source/cmDocumentationFormatter.h
parentbeb9cfae1798ef3e25be8d1cec7ce9ae33abec7b (diff)
downloadCMake-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.h3
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
};
};