diff --git a/README.md b/README.md index b9ebe31..11a3ea4 100644 --- a/README.md +++ b/README.md @@ -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 }