mirror of
https://github.com/Jguer/yay
synced 2024-10-31 04:12:51 +00:00
Fix passing incorrect flags during yay -Sy[s,i]
This commit is contained in:
parent
f612d89b49
commit
4298e77632
1 changed files with 3 additions and 0 deletions
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