From 29642d181fefc52f65126ba8af365f7a57acc0be Mon Sep 17 00:00:00 2001 From: morganamilo Date: Thu, 30 Aug 2018 15:48:13 +0100 Subject: [PATCH] Document -f for -G and --print -> --show --- cmd.go | 7 +++++-- doc/yay.8 | 9 ++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/cmd.go b/cmd.go index c7bd5901..2da1f9b5 100644 --- a/cmd.go +++ b/cmd.go @@ -109,17 +109,20 @@ Permanent configuration options: --timeupdate Check packages' AUR page for changes during sysupgrade --notimeupdate Do not check packages' AUR page for changes -Print specific options: +show specific options: -c --complete Used for completions -d --defaultconfig Print default yay configuration -g --currentconfig Print current yay configuration -s --stats Display system package statistics -w --news Print arch news -Yay specific options: +yay specific options: -c --clean Remove unneeded dependencies --gendb Generates development package DB used for updating +getpkgbuild specific options: + -f --force Force download for existing tar packages + If no arguments are provided 'yay -Syu' will be performed If no operation is provided -Y will be assumed`) } diff --git a/doc/yay.8 b/doc/yay.8 index 6f389d85..03af0dfc 100644 --- a/doc/yay.8 +++ b/doc/yay.8 @@ -87,7 +87,7 @@ used when migrating to Yay from another AUR helper. .B \-c, \-\-clean Remove unneeded dependencies. -.SH PRINT OPTIONS (APPLY TO \-P AND \-\-PRINT) +.SH SHOW OPTIONS (APPLY TO \-P AND \-\-SHOW) .TP .B \-c, \-\-complete Print a list of all AUR and repo packages. This is to allow shell completion @@ -129,6 +129,13 @@ available news. .B \-q, \-\-quiet Only show titles when printing news. +.SH GETPKGBUILD OPTIONS (APPLY TO \-G AND \-\-GETPKGBUILD) +.TP +.B \-f, \-\-force +Force download for packages that already exist in the current directory. This +is to ensure directories are not accidentally overwritten. This option is not +needed for git based downloads as \fBgit pull\fR already has saftey mechanisms. + .SH PERMANENT CONFIGURATION SETTINGS .TP .B \-\-save