summaryrefslogtreecommitdiff
path: root/Source/cmDocumentation.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-01-08 11:14:06 -0500
committerBrad King <brad.king@kitware.com>2014-01-08 11:16:48 -0500
commitb17729460ba66ec96ad0a79dd52c0557e81a895f (patch)
tree8eedfabe561bca4b7013fef18fd8920c8997c945 /Source/cmDocumentation.h
parentbeb9cfae1798ef3e25be8d1cec7ce9ae33abec7b (diff)
downloadcmake-b17729460ba66ec96ad0a79dd52c0557e81a895f.tar.gz
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/cmDocumentation.h')
-rw-r--r--Source/cmDocumentation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h
index 05c0442860..d5a7dd5ebd 100644
--- a/Source/cmDocumentation.h
+++ b/Source/cmDocumentation.h
@@ -115,6 +115,7 @@ private:
bool PrintHelpListVariables(std::ostream& os);
bool PrintHelpListPolicies(std::ostream& os);
bool PrintDocumentationUsage(std::ostream& os);
+ bool PrintOldCustomModules(std::ostream& os);
const char* GetNameString() const;
bool IsOption(const char* arg) const;