summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentationFormatter.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-04-07 20:33:05 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-07 20:47:53 (GMT)
commit1e3843373f8e0dfd550809ec034d535d31276b6b (patch)
tree18467b6471be404ceae08b92b461438d31b992f3 /Source/cmDocumentationFormatter.cxx
parent7ee897beec045761e796ac7468ed6e43cd58f1fe (diff)
downloadCMake-1e3843373f8e0dfd550809ec034d535d31276b6b.zip
CMake-1e3843373f8e0dfd550809ec034d535d31276b6b.tar.gz
CMake-1e3843373f8e0dfd550809ec034d535d31276b6b.tar.bz2
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 4de59c0..6869e2f 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)
{