summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2014-01-13 12:17:25 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-14 22:33:05 +0100
commit527f0f0a5818141e688e62b1b59555b61cbbb8ec (patch)
treee28b0f3ca3b7322612757029b7107fb462948aa9
parent372392cf6e14ececbaff8aa54d2a7230ad17ba5f (diff)
downloadqttools-527f0f0a5818141e688e62b1b59555b61cbbb8ec.tar.gz
qttools-527f0f0a5818141e688e62b1b59555b61cbbb8ec.tar.bz2
qttools-527f0f0a5818141e688e62b1b59555b61cbbb8ec.zip
windeployqt: Fix help formatting.
Bluetooth is the first module. Change-Id: I69f3dda65c4f98978e7c9232127a7949e7f45e66 Reviewed-by: Andrew Knight <andrew.knight@digia.com>
-rw-r--r--src/windeployqt/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp
index a5e5a928..dc2119e5 100644
--- a/src/windeployqt/main.cpp
+++ b/src/windeployqt/main.cpp
@@ -419,7 +419,7 @@ static inline QString helpText(const QCommandLineParser &p)
QString result = p.helpText();
// Replace the default-generated text which is too long by a short summary
// explaining how to enable single libraries.
- const int moduleStart = result.indexOf(QLatin1String("\n --core"));
+ const int moduleStart = result.indexOf(QLatin1String("\n --bluetooth"));
const int argumentsStart = result.lastIndexOf(QLatin1String("\nArguments:"));
if (moduleStart >= argumentsStart)
return result;