Document -f for -G and --print -> --show

This commit is contained in:
morganamilo 2018-08-30 15:48:13 +01:00
parent 004595a396
commit 29642d181f
No known key found for this signature in database
GPG Key ID: 6FE9E7996B0B082E
2 changed files with 13 additions and 3 deletions

7
cmd.go
View File

@ -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`)
}

View File

@ -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