Chore: -v add golang version

This commit is contained in:
Dreamacro 2021-04-04 17:36:22 +08:00
parent e63f995258
commit a1f3a5ea26

View File

@ -45,7 +45,7 @@ func init() {
func main() {
if version {
fmt.Printf("Clash %s %s %s %s\n", C.Version, runtime.GOOS, runtime.GOARCH, C.BuildTime)
fmt.Printf("Clash %s %s %s with %s %s\n", C.Version, runtime.GOOS, runtime.GOARCH, runtime.Version(), C.BuildTime)
return
}