Browse Source

Update doc for --rebuild

morganamilo 7 years ago
parent
commit
ca4dac0685
2 changed files with 29 additions and 0 deletions
  1. 4 0
      cmd.go
  2. 25 0
      yay.8

+ 4 - 0
cmd.go

@@ -61,6 +61,10 @@ Permanent configuration options:
     --redownload         Always download pkgbuilds of targets
     --redownloadall      Always download pkgbuilds of all AUR packages
     --noredownload       Skip pkgbuild download if in cache and up to date
+    --rebuild            Always build target packages
+    --rebuildall         Always build all AUR packages
+    --rebuildtree       Always build all AUR packages even if installed
+    --norebuild          Skip package build if in cache and up to date
     --mflags <flags>     Pass arguments to makepkg
     --sudoloop           Loop sudo calls in the background to avoid timeout
     --nosudoloop         Do not loop sudo calls in the background

+ 25 - 0
yay.8

@@ -224,6 +224,31 @@ 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\-\-rebuild\fR
+.RS 4
+Always build target packages even when a copy is available in cache\&.
+.RE
+.PP
+\fB\-\-rebuildall\fR
+.RS 4
+Always build all AUR packages even when a copy is available
+in cache\&.
+.RE
+.PP
+\fB\-\-rebuildtree\fR
+.RS 4
+When installing an AUR package rebuild and reinstall all of its AUR
+dependencies recursivley, even the ones already installed. This flag allows
+you to easily rebuild packages against your current system's libraries if they
+have become incompatible.
+.RE
+.PP
+\fB\-\-norebuild\fR
+.RS 4
+When building packages if the package is found in cache and is an equal version
+to the one wanted skip the package build and use the existing package\&.
+.RE
+.PP
 \fB\-\-mflags <flags>\fR
 .RS 4
 Passes arguments to makepkg\&. These flags get passed to every instance where