From 0e3b1febbba1525d8bb10e9abae9e60fc8acb775 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 18 Jul 2005 11:32:02 -0400 Subject: ENH: Cleanup the help a bit --- Source/cmDocumentation.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index 3ef2c47..c212ff3 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"; -- cgit v0.12