diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-16 04:17:09 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-16 04:17:09 +0800 |
commit | 6a78e080e645753ffe3e3bef0b09e71a2469c564 (patch) | |
tree | 8dd51cf78bbda7d0ef1a654a3bc4ec11aacfa3f8 /ethereum | |
parent | 0a03484188dc23707b343bb512ec341afc744a2e (diff) | |
download | dexon-6a78e080e645753ffe3e3bef0b09e71a2469c564.tar.gz dexon-6a78e080e645753ffe3e3bef0b09e71a2469c564.tar.zst dexon-6a78e080e645753ffe3e3bef0b09e71a2469c564.zip |
Tell config which loggers to use
Diffstat (limited to 'ethereum')
-rw-r--r-- | ethereum/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethereum/config.go b/ethereum/config.go index 4d7ea6310..5ddc8e635 100644 --- a/ethereum/config.go +++ b/ethereum/config.go @@ -20,7 +20,7 @@ var ExportKey bool var LogFile string var DataDir string var NonInteractive bool -var StartExp bool +var StartJsConsole bool func Init() { flag.BoolVar(&StartConsole, "c", false, "debug and testing console") @@ -39,7 +39,7 @@ func Init() { flag.StringVar(&DataDir, "dir", ".ethereum", "ethereum data directory") flag.StringVar(&ImportKey, "import", "", "imports the given private key (hex)") flag.IntVar(&MaxPeer, "x", 5, "maximum desired peers") - flag.BoolVar(&StartExp, "ex", false, "exp") + flag.BoolVar(&StartJsConsole, "js", false, "exp") flag.Parse() } |