| 699 | } |
| 700 | |
| 701 | bool cmDocumentation::PrintHelpOneVariable(std::ostream& os) |
| 702 | { |
| 703 | std::string vname = cmSystemTools::HelpFileName(this->CurrentArgument); |
| 704 | if (this->PrintFiles(os, cmStrCat("variable/", vname))) { |
| 705 | return true; |
| 706 | } |
| 707 | // Argument was not a variable. Complain. |
| 708 | os << "Argument \"" << this->CurrentArgument |
| 709 | << "\" to --help-variable is not a defined variable. " |
| 710 | "Use --help-variable-list to see all defined variables.\n"; |
| 711 | return false; |
| 712 | } |
| 713 | |
| 714 | bool cmDocumentation::PrintHelpListVariables(std::ostream& os) |
| 715 | { |
no test coverage detected