diff options
author | Alex Neundorf <neundorf@kde.org> | 2012-06-21 23:19:55 +0200 |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2012-06-21 23:19:55 +0200 |
commit | 20e133e38aa2e0556da61b1441fbd4bcacc925cc (patch) | |
tree | 6003e19dddec1d820544f48b6bfa708c519ff6ab /Source/cmDocumentation.h | |
parent | 38df155dd394efd45dff887028b2e1a4c0969b03 (diff) | |
download | cmake-20e133e38aa2e0556da61b1441fbd4bcacc925cc.tar.gz |
man documentation: detect man section from the given filename
E.g. if you say cmake --help-custom-modules mymodules.7
cmake will now put section 7 into the generated manpage.
Alex
Diffstat (limited to 'Source/cmDocumentation.h')
-rw-r--r-- | Source/cmDocumentation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h index 3fcea8fc9d..e180f60f5b 100644 --- a/Source/cmDocumentation.h +++ b/Source/cmDocumentation.h @@ -133,7 +133,8 @@ public: /** Set CMAKE_MODULE_PATH so we can find additional cmake modules */ void SetCMakeModulePath(const char* path) { this->CMakeModulePath = path;} - static Form GetFormFromFilename(const std::string& filename); + static Form GetFormFromFilename(const std::string& filename, + int* ManSection); /** Add common (to all tools) documentation section(s) */ void addCommonStandardDocSections(); |