From b5b0a8d2657f874f09f157246a592a270ea78d87 Mon Sep 17 00:00:00 2001 From: Katja Marttila Date: Thu, 10 Nov 2016 12:04:17 +0200 Subject: Introduces new --silentUpdate command line option With this feature one can update all installed components silently with maintenancetool by passing --silentUpdate parameter Change-Id: If31d37ce24e794775c2fe47b603259da133c9ee7 Task-number: QTIFW-906 Reviewed-by: Iikka Eklund --- src/sdk/commandlineparser.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sdk/commandlineparser.cpp') diff --git a/src/sdk/commandlineparser.cpp b/src/sdk/commandlineparser.cpp index 1dc7ca168..7efdc77c6 100644 --- a/src/sdk/commandlineparser.cpp +++ b/src/sdk/commandlineparser.cpp @@ -118,6 +118,8 @@ CommandLineParser::CommandLineParser() QLatin1String("Installs QtBSP or 7z file. The QtBSP (Board Support Package) file must be a .7z " "file which contains a valid repository."), QLatin1String("URI,..."))); + m_parser.addOption(QCommandLineOption(QLatin1String(CommandLineOptions::SilentUpdate), + QLatin1String("Updates all packages silently."))); m_parser.addPositionalArgument(QLatin1String(CommandLineOptions::KeyValue), QLatin1String("Key Value pair to be set.")); } -- cgit v1.2.3