Add doc for --mflags

This commit is contained in:
morganamilo 2018-03-07 23:34:07 +00:00
parent cee0d74643
commit 15409ad4e5
No known key found for this signature in database
GPG key ID: 6FE9E7996B0B082E
2 changed files with 12 additions and 3 deletions

1
cmd.go
View file

@ -52,6 +52,7 @@ 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
--mflags Pass arguments to makepkg
Print specific options:
-c --complete Used for completions

14
yay.8
View file

@ -1,5 +1,5 @@
/n'\" t
.TH "YAY" "8" "2018-02-29" "Yay v3\&.411+" "Yay Manual"
.TH "YAY" "8" "2018-02-29" "Yay v3\&.460+" "Yay Manual"
.nh
.ad l
.SH "NAME"
@ -173,6 +173,14 @@ in cache\&.
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\-\-mflags\fR
.RS 4
Passes arguments to makepkg\&. These flags get passed to every instance where
makepkg is called by Yay. Arguments are split on whitespace before being
passed to makepkg. Multiple arguments may be passed by suplying a space
seperated list that is quoted by the shell.
.RE
.SH "EXAMPLES"
.PP
yay \fIfoo\fR
@ -200,9 +208,9 @@ yay -Si \fIfoo\fR
Gets information about package \fIfoo\fR from the repos or the \fBAUR\fR\&.
.RE
.PP
yay -S \fIfoo\fR
yay -S \fIfoo\fR --mflags "--skipchecksums --skippgpcheck"
.RS 4
Installs package \fIfoo\fR from the repos or the \fBAUR\fR\&.
Installs \fIfoo\fR while skipping checksums and pgp checks\&.
.RE
.PP
yay --devel --save