Include build env info in -version

This commit is contained in:
Jakob Borg 2014-03-31 06:51:01 +02:00
parent aaf0604601
commit fc8ce7c6e0
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ func main() {
}
if showVersion {
fmt.Println(Version)
fmt.Printf("syncthing %s (%s %s-%s)\n", Version, runtime.Version(), runtime.GOOS, runtime.GOARCH)
os.Exit(0)
}