mirror of
https://github.com/Jguer/yay
synced 2024-10-31 04:12:51 +00:00
Pass yay -Sl to pacman
This commit is contained in:
parent
38e4e6bdc1
commit
2bd4cdc590
1 changed files with 3 additions and 0 deletions
3
cmd.go
3
cmd.go
|
@ -490,6 +490,7 @@ func handleSync() (err error) {
|
|||
arguments.delArg("u", "sysupgrade")
|
||||
arguments.delArg("s", "search")
|
||||
arguments.delArg("i", "info")
|
||||
arguments.delArg("l", "list")
|
||||
arguments.targets = make(stringSet)
|
||||
err = passToPacman(arguments)
|
||||
if err != nil {
|
||||
|
@ -505,6 +506,8 @@ func handleSync() (err error) {
|
|||
}
|
||||
|
||||
err = syncSearch(targets)
|
||||
} else if cmdArgs.existsArg("l", "list") {
|
||||
err = passToPacman(cmdArgs)
|
||||
} else if cmdArgs.existsArg("c", "clean") {
|
||||
err = passToPacman(cmdArgs)
|
||||
} else if cmdArgs.existsArg("i", "info") {
|
||||
|
|
Loading…
Reference in a new issue