mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 17:17:22 +01:00
Fixed yogurt mode
This commit is contained in:
parent
96149fd5b4
commit
b4dd921f3b
3
yay.go
3
yay.go
@ -68,7 +68,7 @@ func main() {
|
||||
var err error
|
||||
conf, err := readConfig(PacmanConf)
|
||||
|
||||
op, pkgs, options, err := parser()
|
||||
op, options, pkgs, err := parser()
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
os.Exit(1)
|
||||
@ -88,6 +88,7 @@ func main() {
|
||||
case "yogurt":
|
||||
for _, pkg := range pkgs {
|
||||
err = searchAndInstall(pkg, &conf, options)
|
||||
break
|
||||
}
|
||||
case "--help", "-h":
|
||||
usage()
|
||||
|
Loading…
Reference in New Issue
Block a user