Fixed yogurt mode

This commit is contained in:
Jguer committed 2016-11-15 00:00:44 +00:00
1 parent 96149fd5b4
commit 870ddeb46b
2 files changed
+2 -1

No files matched your search

Executable
BIN
View File
Binary file not shown.
+2 -1
View File
@@ -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()