diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2021-03-03 12:37:54 +0200 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2021-03-05 11:07:20 +0000 |
commit | c3156f080df241a3f62a7f060bb59fb77ed2681a (patch) | |
tree | 2c33b6926a37a948633209e0a96c2e2416248f99 /doc/installerfw-using.qdoc | |
parent | 144d4edd28c9ade9b9049b66125e1336d631868a (diff) |
Doc: include example of --confirm-command option usage
Change-Id: I980a03da17dc766d2ad070332bc5a8f2328fb000
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'doc/installerfw-using.qdoc')
-rw-r--r-- | doc/installerfw-using.qdoc | 9 |
1 files changed, 7 insertions, 2 deletions
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. */ |