Fix missing := in example code
This commit is contained in:
@@ -222,7 +222,7 @@ var cli struct {
|
|||||||
func main() {
|
func main() {
|
||||||
ctx := kong.Parse(&cli)
|
ctx := kong.Parse(&cli)
|
||||||
// Call the Run() method of the selected parsed command.
|
// 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)
|
ctx.FatalIfErrorf(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user