diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-12-16 21:49:01 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-12-16 21:49:01 (GMT) |
commit | 037487a48855a91a0d4264f8b08800e0279dc111 (patch) | |
tree | 914a81928bf7e78607ff170274a28760e38b7c58 | |
parent | affced3f818fbd5fb26fd905a0603806b11c0695 (diff) | |
download | CMake-037487a48855a91a0d4264f8b08800e0279dc111.zip CMake-037487a48855a91a0d4264f8b08800e0279dc111.tar.gz CMake-037487a48855a91a0d4264f8b08800e0279dc111.tar.bz2 |
ENH: make sure uncommented modules are not documented
-rw-r--r-- | Source/cmDocumentation.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index 079b1da..54684b8 100644 --- a/Source/cmDocumentation.cxx +++ b/Source/cmDocumentation.cxx @@ -309,9 +309,8 @@ bool cmDocumentation::CreateSingleModule(const char* fname, const char* moduleNa } else { - if(text.length() < 2 && brief.length() == 0) + if(text.length() < 2 && brief.length() == 1) { - std::cerr << text << " " << brief << "\n"; return false; } char* pname = strcpy(new char[strlen(moduleName)+1], moduleName); |