Report App error to user.

This commit is contained in:
Fedor Korotkiy 2016-05-14 18:11:26 +03:00
parent b5d5eee2dd
commit 2460688c35

5
cli.go
View file

@ -141,7 +141,10 @@ func main() {
},
}
app.Run(os.Args)
err = app.Run(os.Args)
if err != nil {
log.Fatal(err)
}
}
func dnshelp(c *cli.Context) error {