New main script through init return value
This commit is contained in:
@ -31,7 +31,7 @@ func Init() {
|
||||
flag.PrintDefaults()
|
||||
}
|
||||
|
||||
flag.StringVar(&Identifier, "i", "", "Custom client identifier")
|
||||
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")
|
||||
@ -47,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()
|
||||
|
||||
|
Reference in New Issue
Block a user