diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index 3ef2c4715b..c212ff3890 100644 --- a/Source/cmDocumentation.cxx +++ b/Source/cmDocumentation.cxx @@ -547,6 +547,11 @@ void cmDocumentation::PrintSectionUsage(std::ostream& os, { os << " "; } + if ( strlen(op->name) > strlen(this->TextIndent)-4 ) + { + os << "\n"; + os.write(this->TextIndent, strlen(this->TextIndent)-2); + } os << "= "; this->PrintColumn(os, op->brief); os << "\n";