summaryrefslogtreecommitdiff
path: root/Source/cmDocumentationFormatter.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-04-07 16:33:05 -0400
committerBrad King <brad.king@kitware.com>2015-04-07 16:47:53 -0400
commit1e3843373f8e0dfd550809ec034d535d31276b6b (patch)
tree18467b6471be404ceae08b92b461438d31b992f3 /Source/cmDocumentationFormatter.cxx
parent7ee897beec045761e796ac7468ed6e43cd58f1fe (diff)
downloadcmake-1e3843373f8e0dfd550809ec034d535d31276b6b.tar.gz
cmake: Show in --help how to select VS target platform (#15422)
* Re-order VS generators from newest to oldest. * Show how to specify a VS generator with a target platform * Increase the option output indentation to avoid extra wrapping with longer generator names.
Diffstat (limited to 'Source/cmDocumentationFormatter.cxx')
-rw-r--r--Source/cmDocumentationFormatter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentationFormatter.cxx b/Source/cmDocumentationFormatter.cxx
index 4de59c0425..6869e2fb5d 100644
--- a/Source/cmDocumentationFormatter.cxx
+++ b/Source/cmDocumentationFormatter.cxx
@@ -204,7 +204,7 @@ void cmDocumentationFormatter
if(!op->Name.empty())
{
os << " " << op->Name;
- this->TextIndent = " ";
+ this->TextIndent = " ";
int align = static_cast<int>(strlen(this->TextIndent))-4;
for(int i = static_cast<int>(op->Name.size()); i < align; ++i)
{