Update docs for --redownload and --noredownload

This commit is contained in:
morganamilo 2018-03-06 15:17:55 +00:00
parent f66349696e
commit d5fc1e0de5
No known key found for this signature in database
GPG key ID: 6FE9E7996B0B082E
2 changed files with 13 additions and 0 deletions

2
cmd.go
View file

@ -46,6 +46,8 @@ Permanent configuration options:
--noafterclean Do not remove package sources after successful build
--timeupdate Check package's AUR page for changes during sysupgrade
--notimeupdate Do not checking of AUR page changes
--redownload Always download pkgbuilds
--noredownload Skip pkgbuild download if in cache and up to date
Print specific options:
-c --complete Used for completions

11
yay.8
View file

@ -151,6 +151,17 @@ the last modification time of each package's AUR page\&.
.RS 4
Do not consider build times during sysupgrade\&.
.RE
.PP
\fB\-\-redownload\fR
.RS 4
When downloading pkgbuilds if the pkgbuild is found in cache and is equal or
newer than the AUR's version use that instead of downloading a new one\&.
.RE
.PP
\fB\-\-noredownload\fR
.RS 4
Always download pkgbuilds even when a copy is avaliable in cache\&.
.RE
.SH "EXAMPLES"
.PP
yay \fIfoo\fR