diff options
author | obscuren <geffobscura@gmail.com> | 2014-09-19 19:32:52 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-09-19 19:32:52 +0800 |
commit | 723074e71bbe1638a5cec9b996b1eed07a76fd72 (patch) | |
tree | 14816f724ff04140c7c3e6d84b81562bff94655c /ethereum/flags.go | |
parent | e429e2614f8f2d0524f97fabf37ea5bd259ec517 (diff) | |
download | go-tangerine-723074e71bbe1638a5cec9b996b1eed07a76fd72.tar go-tangerine-723074e71bbe1638a5cec9b996b1eed07a76fd72.tar.gz go-tangerine-723074e71bbe1638a5cec9b996b1eed07a76fd72.tar.bz2 go-tangerine-723074e71bbe1638a5cec9b996b1eed07a76fd72.tar.lz go-tangerine-723074e71bbe1638a5cec9b996b1eed07a76fd72.tar.xz go-tangerine-723074e71bbe1638a5cec9b996b1eed07a76fd72.tar.zst go-tangerine-723074e71bbe1638a5cec9b996b1eed07a76fd72.zip |
dump
Diffstat (limited to 'ethereum/flags.go')
-rw-r--r-- | ethereum/flags.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ethereum/flags.go b/ethereum/flags.go index 5ed208411..c488e6314 100644 --- a/ethereum/flags.go +++ b/ethereum/flags.go @@ -74,6 +74,7 @@ func Init() { 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(&ShowGenesis, "genesis", false, "Dump the genesis block") flag.BoolVar(&Dump, "dump", false, "output the ethereum state in JSON format. Sub args [number, hash]") flag.StringVar(&DumpHash, "hash", "", "specify arg in hex") |