Fix comments to match the code.
This commit is contained in:
parent
7cca50cb2f
commit
961c0bae89
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user