mirror of
https://github.com/Jguer/yay.git
synced 2025-11-29 00:05:47 -05:00
Fixes #45
This commit is contained in:
parent
9afd66109a
commit
35b975a03c
3
cmd.go
3
cmd.go
@ -148,6 +148,9 @@ func parser() (op string, options []string, packages []string, changedConfig boo
|
|||||||
case "--help":
|
case "--help":
|
||||||
usage()
|
usage()
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
|
case "--version":
|
||||||
|
fmt.Printf("yay v%s\n", version)
|
||||||
|
os.Exit(0)
|
||||||
case "--noconfirm":
|
case "--noconfirm":
|
||||||
config.NoConfirm = true
|
config.NoConfirm = true
|
||||||
fallthrough
|
fallthrough
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user