Update doc for --rebuild

This commit is contained in:
morganamilo 2018-03-14 02:33:40 +00:00
parent 18af700053
commit ca4dac0685
No known key found for this signature in database
GPG key ID: 6FE9E7996B0B082E
2 changed files with 29 additions and 0 deletions

4
cmd.go
View file

@ -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
yay.8
View file

@ -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