From af6e2c757e193006e303c9377b37d817364eda7a Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Tue, 20 Dec 2022 15:32:49 +0200 Subject: apk: improve interactive mode handling - implement and document --no-interactive - improve --interactive documentation - treat EOF as Y fixes #10860 --- doc/apk.8.scd | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/apk.8.scd b/doc/apk.8.scd index 7b104a5..e749e67 100644 --- a/doc/apk.8.scd +++ b/doc/apk.8.scd @@ -81,6 +81,8 @@ The following options are available for all commands. *-i, --interactive* Ask confirmation before performing certain operations. + Interactive mode can be made the default when running on a tty, + by creating /etc/apk/interactive as an empty file. *-p, --root* <_ROOT_> Manage file system at _ROOT_. @@ -144,6 +146,9 @@ The following options are available for all commands. *--no-cache* Do not use any local cache path. +*--no-interactive* + Disable interactive mode. + *--no-network* Do not use the network. The cache is still used when possible. -- cgit v1.2.3-70-g09d2