mirror of
https://github.com/Jguer/yay
synced 2024-10-31 04:12:51 +00:00
Fixes #45
This commit is contained in:
parent
9afd66109a
commit
35b975a03c
1 changed files with 3 additions and 0 deletions
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…
Reference in a new issue