mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 05:26:58 +08:00
Fix comments to match the code.
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user