Browse Source

Add doc for --mflags

morganamilo 7 years ago
parent
commit
15409ad4e5
2 changed files with 12 additions and 3 deletions
  1. 1 0
      cmd.go
  2. 11 3
      yay.8

+ 1 - 0
cmd.go

@@ -52,6 +52,7 @@ Permanent configuration options:
     --redownload         Always download pkgbuilds of targets
     --redownload         Always download pkgbuilds of targets
     --redownloadall      Always download pkgbuilds of all AUR packages
     --redownloadall      Always download pkgbuilds of all AUR packages
     --noredownload       Skip pkgbuild download if in cache and up to date
     --noredownload       Skip pkgbuild download if in cache and up to date
+    --mflags             Pass arguments to makepkg
 
 
 Print specific options:
 Print specific options:
     -c --complete        Used for completions
     -c --complete        Used for completions

+ 11 - 3
yay.8

@@ -1,5 +1,5 @@
 /n'\" t
 /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
 .nh
 .ad l
 .ad l
 .SH "NAME"
 .SH "NAME"
@@ -173,6 +173,14 @@ in cache\&.
 When downloading pkgbuilds if the pkgbuild is found in cache and is equal or
 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\&.
 newer than the AUR's version use that instead of downloading a new one\&.
 .RE
 .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"
 .SH "EXAMPLES"
 .PP
 .PP
 yay \fIfoo\fR
 yay \fIfoo\fR
@@ -200,9 +208,9 @@ yay -Si \fIfoo\fR
 Gets information about package \fIfoo\fR from the repos or the \fBAUR\fR\&.
 Gets information about package \fIfoo\fR from the repos or the \fBAUR\fR\&.
 .RE
 .RE
 .PP
 .PP
-yay -S \fIfoo\fR
+yay -S \fIfoo\fR --mflags "--skipchecksums --skippgpcheck"
 .RS 4
 .RS 4
-Installs package \fIfoo\fR from the repos or the \fBAUR\fR\&.
+Installs \fIfoo\fR while skipping checksums and pgp checks\&.
 .RE
 .RE
 .PP
 .PP
 yay --devel --save
 yay --devel --save