From 527f0f0a5818141e688e62b1b59555b61cbbb8ec Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 13 Jan 2014 12:17:25 +0100 Subject: [PATCH] windeployqt: Fix help formatting. Bluetooth is the first module. Change-Id: I69f3dda65c4f98978e7c9232127a7949e7f45e66 Reviewed-by: Andrew Knight --- src/windeployqt/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp index a5e5a92..dc2119e 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; -- 2.7.4