aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mist/main.go')
-rw-r--r--cmd/mist/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/mist/main.go b/cmd/mist/main.go
index 4116783c9..887eda59e 100644
--- a/cmd/mist/main.go
+++ b/cmd/mist/main.go
@@ -65,6 +65,7 @@ func init() {
utils.NodeKeyFileFlag,
utils.RPCListenAddrFlag,
utils.RPCPortFlag,
+ utils.JSpathFlag,
}
}
@@ -111,7 +112,7 @@ func run(ctx *cli.Context) {
gui := NewWindow(ethereum)
utils.RegisterInterrupt(func(os.Signal) { gui.Stop() })
// gui blocks the main thread
- gui.Start(ctx.GlobalString(assetPathFlag.Name))
+ gui.Start(ctx.GlobalString(assetPathFlag.Name), ctx.GlobalString(utils.JSpathFlag.Name))
return nil
})
}