aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereum/config.go')
-rw-r--r--ethereum/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethereum/config.go b/ethereum/config.go
index 5ddc8e635..090c022b0 100644
--- a/ethereum/config.go
+++ b/ethereum/config.go
@@ -21,6 +21,7 @@ var LogFile string
var DataDir string
var NonInteractive bool
var StartJsConsole bool
+var InputFile string
func Init() {
flag.BoolVar(&StartConsole, "c", false, "debug and testing console")
@@ -40,6 +41,7 @@ func Init() {
flag.StringVar(&ImportKey, "import", "", "imports the given private key (hex)")
flag.IntVar(&MaxPeer, "x", 5, "maximum desired peers")
flag.BoolVar(&StartJsConsole, "js", false, "exp")
+ flag.StringVar(&InputFile, "e", "", "Run javascript file")
flag.Parse()
}