Remove exit error handler because it causes duplicated help text

This commit is contained in:
Elara 2022-03-15 16:06:05 -07:00
parent b61baf5760
commit ffed644beb

View File

@ -186,13 +186,6 @@ func main() {
After: func(*cli.Context) error {
return client.Close()
},
ExitErrHandler: func(c *cli.Context, err error) {
cli.ShowCommandHelp(c, c.Command.Name)
if err != nil {
log.Fatal().Msgf("%v", err)
}
os.Exit(0)
},
}
err := app.Run(os.Args)