summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-09-11 13:04:40 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-09-11 13:05:05 (GMT)
commit961c0bae8944f8127511bf4a00456c35510aae6f (patch)
treefcb7369a203538fa0acded69ba6ba13c7bce5189 /Source/cmDocumentation.cxx
parent7cca50cb2fe32b21b647bc0d406b6b0779c01d25 (diff)
downloadCMake-961c0bae8944f8127511bf4a00456c35510aae6f.zip
CMake-961c0bae8944f8127511bf4a00456c35510aae6f.tar.gz
CMake-961c0bae8944f8127511bf4a00456c35510aae6f.tar.bz2
Fix comments to match the code.
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 4edacbb..8cfb656 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";