diff options
author | Bas van Kervel <bas@ethdev.com> | 2016-04-07 19:48:24 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2016-04-11 19:32:26 +0800 |
commit | 3c5329599c6a07176fb80848f8592c5f90944a31 (patch) | |
tree | 2346e3f01238a91e5d605bffeef29e09b180e016 /cmd/utils | |
parent | 7e02105672cda92889a78db864a5701d78f45eb2 (diff) | |
download | dexon-3c5329599c6a07176fb80848f8592c5f90944a31.tar.gz dexon-3c5329599c6a07176fb80848f8592c5f90944a31.tar.zst dexon-3c5329599c6a07176fb80848f8592c5f90944a31.zip |
cmd/geth: add JS preload parameter
Diffstat (limited to 'cmd/utils')
-rw-r--r-- | cmd/utils/flags.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 2f10938e3..4822a47f7 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -296,6 +296,10 @@ var ( Name: "exec", Usage: "Execute JavaScript statement (only in combination with console/attach)", } + PreLoadJSFlag = cli.StringFlag{ + Name: "preload", + Usage: "Comma separated list of JavaScript files to preload into the console", + } // Network Settings MaxPeersFlag = cli.IntFlag{ |