From da9dc320bc148f93c110d423d02026d5f6fa4967 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 ff3e93a..dcabf45 100644 --- a/doc/apk.8.scd +++ b/doc/apk.8.scd @@ -79,6 +79,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_. @@ -137,6 +139,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