From 3c5329599c6a07176fb80848f8592c5f90944a31 Mon Sep 17 00:00:00 2001 From: Bas van Kervel Date: Thu, 7 Apr 2016 13:48:24 +0200 Subject: cmd/geth: add JS preload parameter --- cmd/utils/flags.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmd/utils/flags.go') 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{ -- cgit v1.2.3