mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-18 17:31:57 +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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Argument was not a command. Complain.
|
// Argument was not a policy. Complain.
|
||||||
os << "Argument \"" << this->CurrentArgument.c_str()
|
os << "Argument \"" << this->CurrentArgument.c_str()
|
||||||
<< "\" to --help-policy is not a CMake policy.\n";
|
<< "\" to --help-policy is not a CMake policy.\n";
|
||||||
return false;
|
return false;
|
||||||
@@ -1639,7 +1639,7 @@ bool cmDocumentation::PrintDocumentationSingleVariable(std::ostream& os)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Argument was not a command. Complain.
|
// Argument was not a variable. Complain.
|
||||||
os << "Argument \"" << this->CurrentArgument.c_str()
|
os << "Argument \"" << this->CurrentArgument.c_str()
|
||||||
<< "\" to --help-variable is not a defined variable. "
|
<< "\" to --help-variable is not a defined variable. "
|
||||||
<< "Use --help-variable-list to see all defined variables.\n";
|
<< "Use --help-variable-list to see all defined variables.\n";
|
||||||
|
Reference in New Issue
Block a user