summaryrefslogtreecommitdiffstats
path: root/tools/operationrunner/operationrunner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/operationrunner/operationrunner.cpp')
-rw-r--r--tools/operationrunner/operationrunner.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/operationrunner/operationrunner.cpp b/tools/operationrunner/operationrunner.cpp
index 623c711c6..b5ddfd99c 100644
--- a/tools/operationrunner/operationrunner.cpp
+++ b/tools/operationrunner/operationrunner.cpp
@@ -107,8 +107,11 @@ int main(int argc, char **argv)
QInstaller::init();
+ QInstaller::VerboseWriter::instance()->setOutputStream(app.arguments().at(0) + QLatin1String(".txt"));
+
QInstaller::setVerbose( true );
+
QString operationName = argumentList.takeFirst();
KDUpdater::UpdateOperation* const operation = KDUpdater::UpdateOperationFactory::instance().create(operationName);
if (!operation) {