diff --git a/cmd.go b/cmd.go index 083a6654..b147064a 100644 --- a/cmd.go +++ b/cmd.go @@ -58,11 +58,19 @@ Permanent configuration options: --requestsplitn Max amount of packages to query per AUR request --sortby Sort AUR results by a specific field during search --answerclean Set a predetermined answer for the clean build menu + --answerdiff Set a predetermined answer for the diff menu --answeredit Set a predetermined answer for the edit pkgbuild menu --answerupgrade Set a predetermined answer for the upgrade menu --noanswerclean Unset the answer for the clean build menu + --noanswerdiff Unset the answer for the edit diff menu --noansweredit Unset the answer for the edit pkgbuild menu --noanswerupgrade Unset the answer for the upgrade menu + --cleanmenu Give the option to clean build PKGBUILDS + --diffmenu Give the option to show diffs for build files + --editmenu Give the option to edit/view PKGBUILDS + --nocleanmenu Don't clean build PKGBUILDS + --nodiffmenu Don't show diffs for build files + --noeditmenu Don't edit/view PKGBUILDS --afterclean Remove package sources after successful install --noafterclean Do not remove package sources after successful build @@ -73,8 +81,6 @@ Permanent configuration options: --nodevel Do not check development packages --gitclone Use git clone for PKGBUILD retrieval --nogitclone Never use git clone for PKGBUILD retrieval - --showdiffs Show diffs for build files - --noshowdiffs Always show the entire PKGBUILD --rebuild Always build target packages --rebuildall Always build all AUR packages --norebuild Skip package build if in cache and up to date diff --git a/doc/yay.8 b/doc/yay.8 index 642fae28..3a87b9bc 100644 --- a/doc/yay.8 +++ b/doc/yay.8 @@ -232,6 +232,13 @@ will be used instead of reading from standard input but will be treated exactly the same when parsed\&. .RE .PP +\fB\-\-answerdiff \fR +.RS 4 +Set a predetermined answer for the edit diff menu question\&. This answer +will be used instead of reading from standard input but will be treated exactly +the same when parsed\&. +.RE +.PP \fB\-\-answeredit \fR .RS 4 Set a predetermined answer for the edit pkgbuild menu question\&. This answer @@ -251,6 +258,11 @@ reading from standard input but will be treated exactly the same\&. Unset the answer for the clean build menu\&. .RE .PP +\fB\-\-noanswerdiff\fR +.RS 4 +Unset the answer for the diff menu\&. +.RE +.PP \fB\-\-noansweredit\fR .RS 4 Unset the answer for the edit pkgbuild menu\&. @@ -261,6 +273,42 @@ Unset the answer for the edit pkgbuild menu\&. Unset the answer for the upgrade menu\&. .RE .PP +\fB\-\-cleanmenu\fR +.RS 4 +Show the clean menu\&. This menu gives you the chance to fully delete the +downloaded build files from Yay's cache before redownloing a fresh copy\&. +.RE +.PP +\fB\-\-diffmenu\fR +.RS 4 +Show the diff menu\&. This menu gives you the option to view diffs from +build files before building\&. +.RE +.PP +\fB\-\-editmenu\fR +.RS 4 +Show the edit menu\&. This menu gives you the option to edit or view PKGBUILDs +before building\&. + +\fBWarning\fR: Yay resolves dependencies ahead of time via the RPC\&. It is not +recommended to edit pkgbuild variables unless you know what you are doing\&. +.RE +.PP +\fB\-\-nocleanmenu\fR +.RS 4 +Do not show the clean menu\&. +.RE +.PP +\fB\-\-nodiffmenu\fR +.RS 4 +Do not show the diff menu\&. +.RE +.PP +\fB\-\-noeditmenu\fR +.RS 4 +Do not show the edit menu\&. +.RE +.PP \fB\-\-topdown\fR .RS 4 Display repository packages first and then AUR packages\&.