aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/evm
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-06-10 16:23:00 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-06-10 16:23:00 +0800
commit90e07b19abaa950eaaff2eecc4918b1d16ebbcaf (patch)
treec742c17da28dc67f41d9779eec0bc3427432e044 /cmd/evm
parent63d1d145e2b2c8db4106d87767842019492e0aea (diff)
downloaddexon-90e07b19abaa950eaaff2eecc4918b1d16ebbcaf.tar
dexon-90e07b19abaa950eaaff2eecc4918b1d16ebbcaf.tar.gz
dexon-90e07b19abaa950eaaff2eecc4918b1d16ebbcaf.tar.bz2
dexon-90e07b19abaa950eaaff2eecc4918b1d16ebbcaf.tar.lz
dexon-90e07b19abaa950eaaff2eecc4918b1d16ebbcaf.tar.xz
dexon-90e07b19abaa950eaaff2eecc4918b1d16ebbcaf.tar.zst
dexon-90e07b19abaa950eaaff2eecc4918b1d16ebbcaf.zip
cmd: fix CLI package deprecation warnings
Diffstat (limited to 'cmd/evm')
-rw-r--r--cmd/evm/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/evm/main.go b/cmd/evm/main.go
index ce8e171bd..e7b266d4e 100644
--- a/cmd/evm/main.go
+++ b/cmd/evm/main.go
@@ -104,7 +104,7 @@ func init() {
app.Action = run
}
-func run(ctx *cli.Context) {
+func run(ctx *cli.Context) error {
glog.SetToStderr(true)
glog.SetV(ctx.GlobalInt(VerbosityFlag.Name))
@@ -154,6 +154,7 @@ num gc: %d
fmt.Printf(" error: %v", e)
}
fmt.Println()
+ return nil
}
func main() {