Fix example that uses ExitCoder

main
Dan Buch 8 years ago
parent 3d75e9e711
commit ed8f4ac408
No known key found for this signature in database
GPG Key ID: FAEF12936DD3E3EC

@ -498,7 +498,7 @@ func main() {
}
app.Action = func(ctx *cli.Context) error {
if !ctx.Bool("ginger-crouton") {
return cli.NewExitError("it is not in the soup", 86)
return cli.Exit("it is not in the soup", 86)
}
return nil
}

Loading…
Cancel
Save