| 670 | } |
| 671 | |
| 672 | bool cmDocumentation::PrintHelpOnePolicy(std::ostream& os) |
| 673 | { |
| 674 | std::string pname = this->CurrentArgument; |
| 675 | std::vector<std::string> files; |
| 676 | if (this->PrintFiles(os, cmStrCat("policy/", pname))) { |
| 677 | return true; |
| 678 | } |
| 679 | |
| 680 | // Argument was not a policy. Complain. |
| 681 | os << "Argument \"" << this->CurrentArgument |
| 682 | << "\" to --help-policy is not a CMake policy.\n"; |
| 683 | return false; |
| 684 | } |
| 685 | |
| 686 | bool cmDocumentation::PrintHelpListPolicies(std::ostream& os) |
| 687 | { |
no test coverage detected