summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-07 19:43:23 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-10-07 19:43:23 (GMT)
commit2e7ba290a5bd3a95a7b03d54933d98f087e953d6 (patch)
treee049563498f5a80e3ae054bc2d9eb70cf7020914 /Source/cmDocumentation.cxx
parent0b7a2034a3b87e80461b4abcf7c316076a16ad0d (diff)
parent693199999ae8217314db08748b3e588bd93b21b8 (diff)
downloadCMake-2e7ba290a5bd3a95a7b03d54933d98f087e953d6.zip
CMake-2e7ba290a5bd3a95a7b03d54933d98f087e953d6.tar.gz
CMake-2e7ba290a5bd3a95a7b03d54933d98f087e953d6.tar.bz2
Merge topic 'minor_cleanup'
6931999 VS6: Add some delimiting between error message and content. d1a5f12 cmTarget: Fix typo in comment. 961c0ba Fix comments to match the code. 7cca50c Remove unused include.
Diffstat (limited to 'Source/cmDocumentation.cxx')
-rw-r--r--Source/cmDocumentation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index b19d847..58ce36b 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -1617,7 +1617,7 @@ bool cmDocumentation::PrintDocumentationSinglePolicy(std::ostream& os)
return true;
}
- // Argument was not a command. Complain.
+ // Argument was not a policy. Complain.
os << "Argument \"" << this->CurrentArgument.c_str()
<< "\" to --help-policy is not a CMake policy.\n";
return false;
@@ -1639,7 +1639,7 @@ bool cmDocumentation::PrintDocumentationSingleVariable(std::ostream& os)
return true;
}
- // Argument was not a command. Complain.
+ // Argument was not a variable. Complain.
os << "Argument \"" << this->CurrentArgument.c_str()
<< "\" to --help-variable is not a defined variable. "
<< "Use --help-variable-list to see all defined variables.\n";