diff options
Diffstat (limited to 'Source/cmake.cxx')
| -rw-r--r-- | Source/cmake.cxx | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 71dca3a..cce5080 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -2660,7 +2660,9 @@ void cmake::GetCommandDocumentation(std::vector<cmDocumentationEntry>& v,        j != this->Commands.end(); ++j)      {      if (((  withCompatCommands == false) && ( (*j).second->IsDiscouraged())) -        || ((withCurrentCommands == false) && (!(*j).second->IsDiscouraged()))) +        || ((withCurrentCommands == false) && (!(*j).second->IsDiscouraged())) +        || (!((*j).second->ShouldAppearInDocumentation())) +        )        {        continue;        }  | 
