aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethereum/flags.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/ethereum/flags.go')
-rw-r--r--cmd/ethereum/flags.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/ethereum/flags.go b/cmd/ethereum/flags.go
index 57e5d8b8c..f829744dc 100644
--- a/cmd/ethereum/flags.go
+++ b/cmd/ethereum/flags.go
@@ -64,6 +64,7 @@ var (
ImportChain string
SHH bool
Dial bool
+ PrintVersion bool
)
// flags specific to cli client
@@ -120,6 +121,7 @@ func Init() {
flag.BoolVar(&StartMining, "mine", false, "start dagger mining")
flag.BoolVar(&StartJsConsole, "js", false, "launches javascript console")
+ flag.BoolVar(&PrintVersion, "version", false, "prints version number")
flag.Parse()