aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/flags.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereum/flags.go')
-rw-r--r--ethereum/flags.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/ethereum/flags.go b/ethereum/flags.go
index d5a9c3a8a..4f59ddf06 100644
--- a/ethereum/flags.go
+++ b/ethereum/flags.go
@@ -11,6 +11,8 @@ import (
var Identifier string
var KeyRing string
+var DiffTool bool
+var DiffType string
var KeyStore string
var StartRpc bool
var RpcPort int
@@ -66,6 +68,8 @@ func Init() {
flag.StringVar(&ConfigFile, "conf", defaultConfigFile, "config file")
flag.StringVar(&DebugFile, "debug", "", "debug file (no debugging if not set)")
flag.IntVar(&LogLevel, "loglevel", int(ethlog.InfoLevel), "loglevel: 0-5: silent,error,warn,info,debug,debug detail)")
+ flag.BoolVar(&DiffTool, "difftool", false, "creates output for diff'ing. Sets LogLevel=0")
+ flag.StringVar(&DiffType, "diff", "all", "sets the level of diff output [vm, all]. Has no effect if difftool=false")
flag.BoolVar(&StartMining, "mine", false, "start dagger mining")
flag.BoolVar(&StartJsConsole, "js", false, "launches javascript console")