diff options
author | Christoph VogtlÃĪnder <c.vogtlaender@sigma-surface-science.com> | 2014-11-04 15:33:03 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2014-11-04 16:01:12 +0100 |
commit | 8c7d88e9c87a2afad0b75d7aab1bef3af45baa74 (patch) | |
tree | 95621e2b410cc794eac62ad9acc9cc2a9e254396 /src/sdk/main.cpp | |
parent | 96aab6471be22e82081e87db93ac48619331d19f (diff) |
fix broken command line parsing
using any of the mutually exclusive options of the maintenance tool only showed the help text
Change-Id: Icc4d13f95c6b3e74383c8ffe513eb541a26a9171
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'src/sdk/main.cpp')
-rw-r--r-- | src/sdk/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdk/main.cpp b/src/sdk/main.cpp index 0dc9dcdb0..e6d79fe1c 100644 --- a/src/sdk/main.cpp +++ b/src/sdk/main.cpp @@ -89,7 +89,7 @@ int main(int argc, char *argv[]) if (help || parser.isSet(QLatin1String(CommandLineOptions::Version)) || parser.isSet(QLatin1String(CommandLineOptions::FrameworkVersion)) - || mutually.count()) { + || mutually.count() > 1) { Console c; QCoreApplication app(argc, argv); |