summaryrefslogtreecommitdiff
path: root/src/cmd/go/version.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/version.go')
-rw-r--r--src/cmd/go/version.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/version.go b/src/cmd/go/version.go
index 09e2f1633..a41f4a736 100644
--- a/src/cmd/go/version.go
+++ b/src/cmd/go/version.go
@@ -21,5 +21,5 @@ func runVersion(cmd *Command, args []string) {
cmd.Usage()
}
- fmt.Printf("go version %s\n", runtime.Version())
+ fmt.Printf("go version %s %s/%s\n", runtime.Version(), runtime.GOOS, runtime.GOARCH)
}