diff options
author | zelig <viktor.tron@gmail.com> | 2014-07-15 01:32:54 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-07-15 01:32:54 +0800 |
commit | 353ecbb7d78d9669c42545f152f291f869b39c02 (patch) | |
tree | f3cbb4ad253708b55001d658737578d9713dca52 /ethereum/flags.go | |
parent | 6b296d907b848e2a3dbc78ea5c04c3c3d719d9bd (diff) | |
parent | e53acdc2ac45fa8953afc3392ed81653d6f26326 (diff) | |
download | dexon-353ecbb7d78d9669c42545f152f291f869b39c02.tar dexon-353ecbb7d78d9669c42545f152f291f869b39c02.tar.gz dexon-353ecbb7d78d9669c42545f152f291f869b39c02.tar.bz2 dexon-353ecbb7d78d9669c42545f152f291f869b39c02.tar.lz dexon-353ecbb7d78d9669c42545f152f291f869b39c02.tar.xz dexon-353ecbb7d78d9669c42545f152f291f869b39c02.tar.zst dexon-353ecbb7d78d9669c42545f152f291f869b39c02.zip |
Merge branch 'develop' of github.com:ethereum/go-ethereum into feature/ethutil-refactor
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 d5a9c3a8a..af0fd9a69 100644 --- a/ethereum/flags.go +++ b/ethereum/flags.go @@ -11,6 +11,7 @@ import ( var Identifier string var KeyRing string +var DiffTool bool var KeyStore string var StartRpc bool var RpcPort int @@ -66,6 +67,7 @@ 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.BoolVar(&StartMining, "mine", false, "start dagger mining") flag.BoolVar(&StartJsConsole, "js", false, "launches javascript console") |