This commit is contained in:
Jguer committed 2017-09-12 11:38:42 +09:00
1 parent 9afd66109a
commit 35b975a03c
1 file changed
+3
+3
View File
@@ -148,6 +148,9 @@ func parser() (op string, options []string, packages []string, changedConfig boo
case "--help":
usage()
os.Exit(0)
case "--version":
fmt.Printf("yay v%s\n", version)
os.Exit(0)
case "--noconfirm":
config.NoConfirm = true
fallthrough