Qbs: fix equivalent command line for "show command lines" option.

Change-Id: I91de51de3ce2fb0acc20b87992324e9ec8a26bc2
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
Jake Petroules
2015-04-28 20:10:54 -07:00
committed by Tobias Hunger
parent 5c75924d81
commit 769d7450bb

View File

@@ -301,7 +301,9 @@ QString QbsBuildConfiguration::equivalentCommandLine(const BuildStep *buildStep)
if (stepProxy.keepGoing())
Utils::QtcProcess::addArg(&commandLine, QLatin1String("--keep-going"));
if (stepProxy.showCommandLines())
Utils::QtcProcess::addArg(&commandLine, QLatin1String("--show-command-lines"));
Utils::QtcProcess::addArg(&commandLine, QStringList()
<< QLatin1String("--command-echo-mode")
<< QLatin1String("command-line"));
if (stepProxy.noInstall())
Utils::QtcProcess::addArg(&commandLine, QLatin1String("--no-install"));
if (stepProxy.cleanInstallRoot())