aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/config.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-19 23:01:40 +0800
committerobscuren <geffobscura@gmail.com>2014-05-19 23:01:40 +0800
commit92eaa98e8381bef5224ffe864aa1cd4288af4d12 (patch)
treef8b488887a750d7ca6cd23278ae9cc2e737b7ddd /ethereum/config.go
parent017bbbb582b09a3264b4ff996f35275d381f284f (diff)
downloadgo-tangerine-92eaa98e8381bef5224ffe864aa1cd4288af4d12.tar
go-tangerine-92eaa98e8381bef5224ffe864aa1cd4288af4d12.tar.gz
go-tangerine-92eaa98e8381bef5224ffe864aa1cd4288af4d12.tar.bz2
go-tangerine-92eaa98e8381bef5224ffe864aa1cd4288af4d12.tar.lz
go-tangerine-92eaa98e8381bef5224ffe864aa1cd4288af4d12.tar.xz
go-tangerine-92eaa98e8381bef5224ffe864aa1cd4288af4d12.tar.zst
go-tangerine-92eaa98e8381bef5224ffe864aa1cd4288af4d12.zip
Added js interpret 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()
}