cmd/geth: add JS preload parameter

This commit is contained in:
Bas van Kervel
2016-04-11 13:32:26 +02:00
parent 7e02105672
commit 3c5329599c
4 changed files with 38 additions and 0 deletions
+4
View File
@@ -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{