diff options
author | zelig <viktor.tron@gmail.com> | 2014-05-24 01:25:49 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-05-24 01:25:49 +0800 |
commit | 72df038d25c50a27adae8ea528dcedd3537267cf (patch) | |
tree | 44b358714448d492dcf8cdcddb4d1e6e57c4318b /ethereum/config.go | |
parent | 7f1a4c377c18055137909521d809251248b7b5af (diff) | |
parent | d35380c19e5ce92b57158e7780f7105dc4136916 (diff) | |
download | go-tangerine-72df038d25c50a27adae8ea528dcedd3537267cf.tar go-tangerine-72df038d25c50a27adae8ea528dcedd3537267cf.tar.gz go-tangerine-72df038d25c50a27adae8ea528dcedd3537267cf.tar.bz2 go-tangerine-72df038d25c50a27adae8ea528dcedd3537267cf.tar.lz go-tangerine-72df038d25c50a27adae8ea528dcedd3537267cf.tar.xz go-tangerine-72df038d25c50a27adae8ea528dcedd3537267cf.tar.zst go-tangerine-72df038d25c50a27adae8ea528dcedd3537267cf.zip |
Merge branch 'develop' of github.com:ethereum/go-ethereum into develop
Diffstat (limited to 'ethereum/config.go')
-rw-r--r-- | ethereum/config.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ethereum/config.go b/ethereum/config.go index f25f2fb66..5da910f2b 100644 --- a/ethereum/config.go +++ b/ethereum/config.go @@ -6,6 +6,7 @@ import ( "os" ) +var Identifier string var StartMining bool var StartRpc bool var RpcPort int @@ -30,6 +31,7 @@ func Init() { flag.PrintDefaults() } + flag.StringVar(&Identifier, "i", "", "custom client identifier") flag.BoolVar(&StartMining, "m", false, "start dagger mining") flag.BoolVar(&ShowGenesis, "g", false, "prints genesis header and exits") flag.BoolVar(&StartRpc, "r", false, "start rpc server") @@ -45,7 +47,6 @@ func Init() { flag.StringVar(&ImportKey, "import", "", "imports the given private key (hex)") flag.IntVar(&MaxPeer, "x", 10, "maximum desired peers") flag.BoolVar(&StartJsConsole, "js", false, "exp") - //flag.StringVar(&InputFile, "e", "", "Run javascript file") flag.Parse() |