forked from qt-creator/qt-creator
iostool: fix arguments passed to the subprocess
Change-Id: Ie7a1acfa2c958cd78b68aba1d8bbc2c482b44068 Task-number: QTBUG-42681 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@theqtcompany.com>
This commit is contained in:
committed by
Fawzi Mohamed
parent
c6f17699f8
commit
ee414262cb
@@ -563,7 +563,7 @@ void IosTool::run(const QStringList &args)
|
||||
printHelp = true;
|
||||
}
|
||||
} else if (arg == QLatin1String("-extra-args")) {
|
||||
extraArgs = args.mid(iarg, args.size() - iarg);
|
||||
extraArgs = args.mid(iarg + 1, args.size() - iarg - 1);
|
||||
iarg = args.size();
|
||||
} else if (arg == QLatin1String("-help") || arg == QLatin1String("--help")) {
|
||||
printHelp = true;
|
||||
|
Reference in New Issue
Block a user