diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-06-10 16:23:00 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-06-10 16:23:00 +0800 |
commit | 90e07b19abaa950eaaff2eecc4918b1d16ebbcaf (patch) | |
tree | c742c17da28dc67f41d9779eec0bc3427432e044 /cmd/evm | |
parent | 63d1d145e2b2c8db4106d87767842019492e0aea (diff) | |
download | dexon-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.go | 3 |
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() { |