Report App error to user.
This commit is contained in:
parent
b5d5eee2dd
commit
2460688c35
1 changed files with 4 additions and 1 deletions
5
cli.go
5
cli.go
|
@ -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 {
|
func dnshelp(c *cli.Context) error {
|
||||||
|
|
Loading…
Reference in a new issue