| 604 | } |
| 605 | |
| 606 | bool cmDocumentation::PrintHelpOneCommand(std::ostream& os) |
| 607 | { |
| 608 | std::string cname = cmSystemTools::LowerCase(this->CurrentArgument); |
| 609 | if (this->PrintFiles(os, cmStrCat("command/", cname))) { |
| 610 | return true; |
| 611 | } |
| 612 | // Argument was not a command. Complain. |
| 613 | os << "Argument \"" << this->CurrentArgument |
| 614 | << "\" to --help-command is not a CMake command. " |
| 615 | "Use --help-command-list to see all commands.\n"; |
| 616 | return false; |
| 617 | } |
| 618 | |
| 619 | bool cmDocumentation::PrintHelpListCommands(std::ostream& os) |
| 620 | { |
no test coverage detected