mirror of
https://github.com/Jguer/yay
synced 2024-10-05 23:59:13 +00:00
Show alpm version with -V
This commit is contained in:
parent
ccbb5e5923
commit
a54b949670
4
cmd.go
4
cmd.go
|
@ -5,6 +5,8 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
"strconv"
|
||||
|
||||
alpm "github.com/jguer/go-alpm"
|
||||
)
|
||||
|
||||
var cmdArgs = makeArguments()
|
||||
|
@ -349,7 +351,7 @@ func handleConfig(option, value string) bool {
|
|||
}
|
||||
|
||||
func handleVersion() {
|
||||
fmt.Printf("yay v%s\n", version)
|
||||
fmt.Printf("yay v%s - libalpm v%s\n", version, alpm.Version())
|
||||
}
|
||||
|
||||
func handlePrint() (err error) {
|
||||
|
|
Loading…
Reference in a new issue