status-im / nimbus-eth2

Nim implementation of the Ethereum Beacon Chain
https://nimbus.guide
Other
543 stars 233 forks source link

Provide an argument to display the current version ( --version and -v would be the standard) #2138

Closed ZaneCEO closed 3 years ago

ZaneCEO commented 3 years ago

I found no easy way to display the compiled binary version. --version and -v would be the standard.

Thanks!

arnetheduck commented 3 years ago

--version should work - what platform is that?

$ nimbus_beacon_node --version
Nimbus beacon node v1.0.0-3e4b4946-stateofus
Copyright (c) 2019-2020 Status Research & Development GmbH

eth2 specification v1.0.0

Nim Compiler Version 1.2.6 [Linux: amd64]
Copyright (c) 2006-2020 by Andreas Rumpf

git hash: bf320ed172f74f60fd274338e82bdc9ce3520dd9
active boot switches: -d:release
ZaneCEO commented 3 years ago

I'm terribly sorry! I could swear I tried it yesterday but it didn't work! Anyway: it works as expected now, please ignore my request

Nimbus beacon node v1.0.1-43662be3-stateofus
Copyright (c) 2019-2020 Status Research & Development GmbH

eth2 specification v1.0.0

Nim Compiler Version 1.2.6 [Linux: amd64]
Copyright (c) 2006-2020 by Andreas Rumpf

git hash: bf320ed172f74f60fd274338e82bdc9ce3520dd9
active boot switches: -d:release