mirror of
https://github.com/Jguer/yay
synced 2024-08-31 13:49:28 +00:00
Fix passing incorrect flags during yay -Sy[s,i]
This commit is contained in:
parent
f612d89b49
commit
4298e77632
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 a new issue