mirror of
https://github.com/Jguer/yay
synced 2024-10-05 23:59:13 +00:00
Add doc for --save
This commit is contained in:
parent
33b76045e7
commit
5a7654909d
3
cmd.go
3
cmd.go
|
@ -38,6 +38,9 @@ New operations:
|
|||
yay {-G --getpkgbuild} [package(s)]
|
||||
|
||||
Permanent configuration options:
|
||||
--save Causes the following options to be saved back to the
|
||||
config file when used
|
||||
|
||||
--topdown Shows repository's packages first and then AUR's
|
||||
--bottomup Shows AUR's packages first and then repository's
|
||||
--devel Check development packages during sysupgrade
|
||||
|
|
12
yay.8
12
yay.8
|
@ -108,7 +108,12 @@ a database refresh\&. Run \fByay -Sy\fR Before this for an up to date result\&.
|
|||
.PP
|
||||
.SH "PERMANENT CONFIGURATION SETTINGS"
|
||||
.PP
|
||||
These options will be saved to disk and reapplied next time Yay is ran\&.
|
||||
\fB\-\-save\fR
|
||||
.RS 4
|
||||
Causes the following options to be saved back to the config file\&. This
|
||||
provides an easy way to change config options without directly editing the
|
||||
file\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB\-\-topdown\fR
|
||||
.RS 4
|
||||
|
@ -200,6 +205,11 @@ yay -S \fIfoo\fR
|
|||
Installs package \fIfoo\fR from the repos or the \fBAUR\fR\&.
|
||||
.RE
|
||||
.PP
|
||||
yay --devel --save
|
||||
.RS 4
|
||||
Sets devel to true in the config\&.
|
||||
.RE
|
||||
.PP
|
||||
yay --stats
|
||||
.RS 4
|
||||
Shows statistics for installed packages and system health\&.
|
||||
|
|
Loading…
Reference in a new issue