diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-18 15:32:02 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-18 15:32:02 (GMT) |
commit | 0e3b1febbba1525d8bb10e9abae9e60fc8acb775 (patch) | |
tree | c6e23f6b887186aae70cfe0f48557a77194263a7 | |
parent | 300e6c98c1f570b53b86420b2d1362e99ff0b5f0 (diff) | |
download | CMake-0e3b1febbba1525d8bb10e9abae9e60fc8acb775.zip CMake-0e3b1febbba1525d8bb10e9abae9e60fc8acb775.tar.gz CMake-0e3b1febbba1525d8bb10e9abae9e60fc8acb775.tar.bz2 |
ENH: Cleanup the help a bit
-rw-r--r-- | Source/cmDocumentation.cxx | 5 |
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"; |