summaryrefslogtreecommitdiffstats
path: root/src/sdk
diff options
context:
space:
mode:
authorkarsten.heimrich@theqtcompany.com <karsten.heimrich@theqtcompany.com>2014-11-21 12:39:26 +0100
committerKarsten Heimrich <karsten.heimrich@theqtcompany.com>2014-11-21 13:18:50 +0100
commit2e30849eb94cf6d72cbd105b02a94aa35681794c (patch)
tree502f35260b4673098607811b12dd72f5f32bd15e /src/sdk
parente5cda8db3cf533d3412bff7b22b25c616501f679 (diff)
Small cosmetical changes, no functional.
Change-Id: Ic984503444187dfcfcfa83f82768bebb329381d0 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Diffstat (limited to 'src/sdk')
-rw-r--r--src/sdk/commandlineparser.cpp2
-rw-r--r--src/sdk/main.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/sdk/commandlineparser.cpp b/src/sdk/commandlineparser.cpp
index 1a242bdda..23d903bd3 100644
--- a/src/sdk/commandlineparser.cpp
+++ b/src/sdk/commandlineparser.cpp
@@ -71,7 +71,7 @@ CommandLineParser::CommandLineParser()
QLatin1String("Start application in package manager mode.")));
m_parser.addOption(QCommandLineOption(QLatin1String(CommandLineOptions::NoForceInstallation),
- QLatin1String("Allow deselection of components that are marked as forced.")));
+ QLatin1String("Allow deselecting components that are marked as forced.")));
m_parser.addOption(QCommandLineOption(QLatin1String(CommandLineOptions::ShowVirtualComponents),
QLatin1String("Show virtual components in installer and package manager.")));
diff --git a/src/sdk/main.cpp b/src/sdk/main.cpp
index d351233cb..5b6019c74 100644
--- a/src/sdk/main.cpp
+++ b/src/sdk/main.cpp
@@ -107,12 +107,11 @@ int main(int argc, char *argv[])
return EXIT_SUCCESS;
}
+ std::cout << qPrintable(parser.helpText()) << std::endl;
if (mutually.count() > 1) {
std::cerr << qPrintable(QString::fromLatin1("The following options are mutually "
"exclusive: %1.").arg(mutually.join(QLatin1String(", ")))) << std::endl;
}
-
- std::cout << qPrintable(parser.helpText()) << std::endl;
return help ? EXIT_SUCCESS : EXIT_FAILURE;
}