MCPcopy Create free account
hub / github.com/Kitware/CMake / PrintHelp

Method PrintHelp

Source/cmDocumentation.cxx:729–746  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

727}
728
729bool cmDocumentation::PrintHelp(std::ostream& os)
730{
731 auto si = this->AllSections.find("Usage");
732 if (si != this->AllSections.end()) {
733 this->Formatter.PrintSection(os, si->second);
734 }
735 si = this->AllSections.find("Options");
736 if (si != this->AllSections.end()) {
737 this->Formatter.PrintSection(os, si->second);
738 }
739 if (this->ShowGenerators) {
740 si = this->AllSections.find("Generators");
741 if (si != this->AllSections.end()) {
742 this->Formatter.PrintSection(os, si->second);
743 }
744 }
745 return true;
746}
747
748char const* cmDocumentation::GetNameString() const
749{

Callers 1

PrintDocumentationMethod · 0.95

Calls 3

PrintSectionMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected