aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/flags.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-16 02:34:25 +0800
committerobscuren <geffobscura@gmail.com>2014-07-16 02:34:25 +0800
commit28948d061cfc14d7a5da307a12ebd504b78d2dbb (patch)
tree168772cef16e9fb7eea6727d4ae254097d277ce1 /ethereum/flags.go
parent288f1c5387c1a0a8863499389e8a7ca7e3068208 (diff)
downloadgo-tangerine-28948d061cfc14d7a5da307a12ebd504b78d2dbb.tar.gz
go-tangerine-28948d061cfc14d7a5da307a12ebd504b78d2dbb.tar.zst
go-tangerine-28948d061cfc14d7a5da307a12ebd504b78d2dbb.zip
Moved the repl to a new package
Diffstat (limited to 'ethereum/flags.go')
-rw-r--r--ethereum/flags.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethereum/flags.go b/ethereum/flags.go
index af0fd9a69..4f59ddf06 100644
--- a/ethereum/flags.go
+++ b/ethereum/flags.go
@@ -12,6 +12,7 @@ import (
var Identifier string
var KeyRing string
var DiffTool bool
+var DiffType string
var KeyStore string
var StartRpc bool
var RpcPort int
@@ -68,6 +69,7 @@ func Init() {
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")