From 15409ad4e5565b89bf4f6222c58f6e2ddb920459 Mon Sep 17 00:00:00 2001 From: morganamilo Date: Wed, 7 Mar 2018 23:34:07 +0000 Subject: [PATCH] Add doc for --mflags --- cmd.go | 1 + yay.8 | 14 +++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/cmd.go b/cmd.go index b1ad7cef..d7cf6882 100644 --- a/cmd.go +++ b/cmd.go @@ -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 diff --git a/yay.8 b/yay.8 index 4729476b..c7dc3dff 100644 --- a/yay.8 +++ b/yay.8 @@ -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