diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-04-06 03:51:01 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-04-06 03:51:01 +0800 |
commit | 24b9860c1bc214d2db943bc69117818311406bdb (patch) | |
tree | 967fc20530c0c00fc1670afcc50ea17260b95260 /cmd/geth/misccmd.go | |
parent | cc303017c3f145441e583b5bb10ee3070b44cc50 (diff) | |
download | go-tangerine-24b9860c1bc214d2db943bc69117818311406bdb.tar go-tangerine-24b9860c1bc214d2db943bc69117818311406bdb.tar.gz go-tangerine-24b9860c1bc214d2db943bc69117818311406bdb.tar.bz2 go-tangerine-24b9860c1bc214d2db943bc69117818311406bdb.tar.lz go-tangerine-24b9860c1bc214d2db943bc69117818311406bdb.tar.xz go-tangerine-24b9860c1bc214d2db943bc69117818311406bdb.tar.zst go-tangerine-24b9860c1bc214d2db943bc69117818311406bdb.zip |
cmd/geth, node: surface geth architecture into version (#13866)
Diffstat (limited to 'cmd/geth/misccmd.go')
-rw-r--r-- | cmd/geth/misccmd.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/geth/misccmd.go b/cmd/geth/misccmd.go index 079f49310..cb7dc1673 100644 --- a/cmd/geth/misccmd.go +++ b/cmd/geth/misccmd.go @@ -101,10 +101,11 @@ func version(ctx *cli.Context) error { if gitCommit != "" { fmt.Println("Git Commit:", gitCommit) } + fmt.Println("Architecture:", runtime.GOARCH) fmt.Println("Protocol Versions:", eth.ProtocolVersions) fmt.Println("Network Id:", ctx.GlobalInt(utils.NetworkIdFlag.Name)) fmt.Println("Go Version:", runtime.Version()) - fmt.Println("OS:", runtime.GOOS) + fmt.Println("Operating System:", runtime.GOOS) fmt.Printf("GOPATH=%s\n", os.Getenv("GOPATH")) fmt.Printf("GOROOT=%s\n", runtime.GOROOT()) return nil |