diff --git a/cmd.go b/cmd.go index 02bb2f8d..049fa45f 100644 --- a/cmd.go +++ b/cmd.go @@ -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 diff --git a/yay.8 b/yay.8 index d13eb9f5..b070edd5 100644 --- a/yay.8 +++ b/yay.8 @@ -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