summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-18 15:32:02 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-18 15:32:02 (GMT)
commit0e3b1febbba1525d8bb10e9abae9e60fc8acb775 (patch)
treec6e23f6b887186aae70cfe0f48557a77194263a7
parent300e6c98c1f570b53b86420b2d1362e99ff0b5f0 (diff)
downloadCMake-0e3b1febbba1525d8bb10e9abae9e60fc8acb775.zip
CMake-0e3b1febbba1525d8bb10e9abae9e60fc8acb775.tar.gz
CMake-0e3b1febbba1525d8bb10e9abae9e60fc8acb775.tar.bz2
ENH: Cleanup the help a bit
-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";