xbps-install.1: improve description for -y.

It is a common confusion that --yes should also accept new signing keys;
it really shouldn't, so document that explicitly. Also explain how to
tell XBPS about trusted keys.
This commit is contained in:
Érico Nogueira 2021-06-27 19:16:03 -03:00 committed by Duncan Overbruck
parent 9e812c2d7e
commit 587856eb89

View File

@ -171,7 +171,12 @@ versions that were found in repositories.
.It Fl v , Fl -verbose .It Fl v , Fl -verbose
Enables verbose messages. Enables verbose messages.
.It Fl y , Fl -yes .It Fl y , Fl -yes
Assume yes to all questions and avoid interactive questions. Assume yes to most questions and avoid interactive questions.
A prompt will still be shown if the transaction requires trusting
a new signing key for packages.
If you need to automate new installations,
it is necessary to add these keys to the system before installation, see
.Sx FILES .
.It Fl V , Fl -version .It Fl V , Fl -version
Show the version information. Show the version information.
.El .El
@ -251,6 +256,8 @@ Default system configuration directory.
Package files metadata. Package files metadata.
.It Ar /var/db/xbps/pkgdb-0.38.plist .It Ar /var/db/xbps/pkgdb-0.38.plist
Default package database (0.38 format). Keeps track of installed packages and properties. Default package database (0.38 format). Keeps track of installed packages and properties.
.It Ar /var/db/xbps/keys
Default trusted keys directory.
.It Ar /var/cache/xbps .It Ar /var/cache/xbps
Default cache directory to store downloaded binary packages. Default cache directory to store downloaded binary packages.
.El .El