aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/flags.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-04-12 17:00:42 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-04-12 17:00:42 +0800
commit934f587bd5c38a36e8b8c8647a9e600d1751ff2f (patch)
tree342555f160d5141b9e4a44d0d4504edb0337dce8 /cmd/utils/flags.go
parente456451a89042fd477f8c05de25a1a1265e4b65b (diff)
parent3c5329599c6a07176fb80848f8592c5f90944a31 (diff)
downloaddexon-934f587bd5c38a36e8b8c8647a9e600d1751ff2f.tar
dexon-934f587bd5c38a36e8b8c8647a9e600d1751ff2f.tar.gz
dexon-934f587bd5c38a36e8b8c8647a9e600d1751ff2f.tar.bz2
dexon-934f587bd5c38a36e8b8c8647a9e600d1751ff2f.tar.lz
dexon-934f587bd5c38a36e8b8c8647a9e600d1751ff2f.tar.xz
dexon-934f587bd5c38a36e8b8c8647a9e600d1751ff2f.tar.zst
dexon-934f587bd5c38a36e8b8c8647a9e600d1751ff2f.zip
Merge pull request #2431 from bas-vk/js-preload
cmd/geth: add JS preload parameter
Diffstat (limited to 'cmd/utils/flags.go')
-rw-r--r--cmd/utils/flags.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index a2927108f..d478bb095 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{