mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 17:17:22 +01:00
Merge pull request #157 from Morganamilo/fix#156
Fix passing incorrect flags during yay -Sy[s,i]
This commit is contained in:
commit
0f3ccbce93
3
cmd.go
3
cmd.go
@ -472,7 +472,10 @@ func handleSync() (err error) {
|
||||
|
||||
if cmdArgs.existsArg("y", "refresh") {
|
||||
arguments := cmdArgs.copy()
|
||||
cmdArgs.delArg("y", "refresh")
|
||||
arguments.delArg("u", "sysupgrade")
|
||||
arguments.delArg("s", "search")
|
||||
arguments.delArg("i", "info")
|
||||
arguments.targets = make(stringSet)
|
||||
err = passToPacman(arguments)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user