Merge pull request #2431 from bas-vk/js-preload

cmd/geth: add JS preload parameter
This commit is contained in:
Jeffrey Wilcke
2016-04-12 11:00:42 +02:00
4 changed files with 38 additions and 0 deletions

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{