1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-25 11:35:34 -05:00

Print release date in version command

This commit is contained in:
V2Ray
2015-09-29 11:52:34 +02:00
parent 28f87f2fae
commit c097e6a3c6
4 changed files with 29 additions and 5 deletions

View File

@@ -24,8 +24,9 @@ func main() {
flag.Parse()
if *version {
fmt.Printf("V2Ray version %s (%s): %s", core.Version, core.Codename, core.Intro)
fmt.Printf("V2Ray %s (%s) %s", core.Version(), core.Codename, core.Build())
fmt.Println()
fmt.Println(core.Intro)
return
}