소스 검색

Update docs for --redownload and --noredownload

morganamilo 7 년 전
부모
커밋
d5fc1e0de5
2개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      cmd.go
  2. 11 0
      yay.8

+ 2 - 0
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

+ 11 - 0
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