diff options
author | zelig <viktor.tron@gmail.com> | 2014-07-21 20:30:37 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-07-21 20:30:37 +0800 |
commit | 4d5a890b46a75fb644277bbf2a8c034cf2a13424 (patch) | |
tree | 7d37fddbcdbd218fe6e0e216aa3554380229d133 /ethereum/flags.go | |
parent | 75a7a4c97c350e911f4d721e940a59c0740ae967 (diff) | |
parent | f702e27485981562ed7b88ecd3f8485af4c61b62 (diff) | |
download | dexon-4d5a890b46a75fb644277bbf2a8c034cf2a13424.tar dexon-4d5a890b46a75fb644277bbf2a8c034cf2a13424.tar.gz dexon-4d5a890b46a75fb644277bbf2a8c034cf2a13424.tar.bz2 dexon-4d5a890b46a75fb644277bbf2a8c034cf2a13424.tar.lz dexon-4d5a890b46a75fb644277bbf2a8c034cf2a13424.tar.xz dexon-4d5a890b46a75fb644277bbf2a8c034cf2a13424.tar.zst dexon-4d5a890b46a75fb644277bbf2a8c034cf2a13424.zip |
merge upstream
Diffstat (limited to 'ethereum/flags.go')
-rw-r--r-- | ethereum/flags.go | 2 |
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") |