Skip to content

Commit

Permalink
The example have some problem in api (#2039)
Browse files Browse the repository at this point in the history
change HideHelpCommands to HideHelpCommand

Signed-off-by: jokemanfire <[email protected]>
  • Loading branch information
jokemanfire authored Jan 6, 2025
1 parent 55c2d91 commit 7fc43e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/v2/examples/full-api-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func main() {
},
SkipFlagParsing: false,
HideHelp: false,
HideHelpCommands: false,
HideHelpCommand: false,
Hidden: false,
HelpName: "doo!",
BashComplete: func(cCtx *cli.Context) {
Expand Down Expand Up @@ -157,7 +157,7 @@ func main() {
},
EnableBashCompletion: true,
HideHelp: false,
HideHelpCommands: false,
HideHelpCommand: false,
HideVersion: false,
BashComplete: func(cCtx *cli.Context) {
fmt.Fprintf(cCtx.App.Writer, "lipstick\nkiss\nme\nlipstick\nringo\n")
Expand Down

0 comments on commit 7fc43e7

Please sign in to comment.