From c3156f080df241a3f62a7f060bb59fb77ed2681a Mon Sep 17 00:00:00 2001 From: Arttu Tarkiainen Date: Wed, 3 Mar 2021 12:37:54 +0200 Subject: Doc: include example of --confirm-command option usage Change-Id: I980a03da17dc766d2ad070332bc5a8f2328fb000 Reviewed-by: Katja Marttila --- doc/installerfw-using.qdoc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc/installerfw-using.qdoc') diff --git a/doc/installerfw-using.qdoc b/doc/installerfw-using.qdoc index 8786cd005..f0205755f 100644 --- a/doc/installerfw-using.qdoc +++ b/doc/installerfw-using.qdoc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2020 The Qt Company Ltd. +** Copyright (C) 2021 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the Qt Installer Framework. @@ -484,7 +484,7 @@ beforehand with appropriate options: \code - installer.exe --root "C:\MyInstallation" --accept-licenses --default-answer install componentA + installer.exe --root "C:\MyInstallation" --accept-licenses --default-answer --confirm-command install componentA \endcode In this example, \c --accept-licenses is used to automatically accept all license agreements @@ -494,4 +494,9 @@ queries, for example to confirm overwriting of an existing directory, you could use \c {--auto-answer OverwriteTargetDirectory=Yes}. Automatic answers are shown on the console output and installation log. + + By default, the installer and maintenance tool will print a summary of components to be + affected by the command and then ask for permission to continue performing the action, + to prevent accidental changes. For unattended usage, this can be skipped by using the + \c --confirm-command option. */ -- cgit v1.2.3