diff options
author | Timo Teräs <timo.teras@iki.fi> | 2022-12-20 15:32:49 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2022-12-20 15:39:21 +0200 |
commit | da9dc320bc148f93c110d423d02026d5f6fa4967 (patch) | |
tree | ce1161c8f2de7ba906e44024ba3b2d64914a3d9e /doc | |
parent | f000c8f77eccf60b11d9911f95935da1c8adb287 (diff) | |
download | apk-tools-da9dc320bc148f93c110d423d02026d5f6fa4967.tar.gz apk-tools-da9dc320bc148f93c110d423d02026d5f6fa4967.tar.bz2 apk-tools-da9dc320bc148f93c110d423d02026d5f6fa4967.tar.xz apk-tools-da9dc320bc148f93c110d423d02026d5f6fa4967.zip |
apk: improve interactive mode handling
- implement and document --no-interactive
- improve --interactive documentation
- treat EOF as Y
fixes #10860
Diffstat (limited to 'doc')
-rw-r--r-- | doc/apk.8.scd | 5 |
1 files changed, 5 insertions, 0 deletions
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. |