summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-19 15:58:16 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-19 15:58:16 (GMT)
commite7434d43abed59e52b068da1a9f5086ccadd998c (patch)
tree7ddfb44b301aa99af011e11fc8783faedfe85b96 /Source/cmDocumentation.h
parent1da77bf1ee4f3ba315ebb00da2eaeac474614cad (diff)
downloadCMake-e7434d43abed59e52b068da1a9f5086ccadd998c.zip
CMake-e7434d43abed59e52b068da1a9f5086ccadd998c.tar.gz
CMake-e7434d43abed59e52b068da1a9f5086ccadd998c.tar.bz2
cmDocumentation: Fix exit after help output format warnings
After warning that a help output format is no longer supported, fix the return value from cmDocumentation::CheckOptions to indicate that it was still a help option that was parsed. Otherwise CMake moves on to treat the help output file name as a source tree and complains that it does not exist.
Diffstat (limited to 'Source/cmDocumentation.h')
-rw-r--r--Source/cmDocumentation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h
index 209cc27..05c0442 100644
--- a/Source/cmDocumentation.h
+++ b/Source/cmDocumentation.h
@@ -137,7 +137,7 @@ private:
std::vector<RequestedHelpItem> RequestedHelpItems;
cmDocumentationFormatter Formatter;
- static void WarnFormFromFilename(RequestedHelpItem& request);
+ static void WarnFormFromFilename(RequestedHelpItem& request, bool& result);
};
#endif