summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDocumentation.cxx')
-rw-r--r--Source/cmDocumentation.cxx5
1 files changed, 5 insertions, 0 deletions
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";