Merge pull request #209 from slon/master

Report error from command line parser to user.
This commit is contained in:
xenolf 2016-05-15 21:15:22 +02:00
commit a62452db95

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 {