diff --git a/README.md b/README.md index 75c8c7e..81b9505 100644 --- a/README.md +++ b/README.md @@ -222,7 +222,7 @@ var cli struct { func main() { ctx := kong.Parse(&cli) // Call the Run() method of the selected parsed command. - err = ctx.Run(&Context{Debug: cli.Debug}) + err := ctx.Run(&Context{Debug: cli.Debug}) ctx.FatalIfErrorf(err) }