Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
anpep committed Jun 7, 2023
1 parent b65bd90 commit 8aa94a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internals/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ var commands []*cmdInfo
// debugCommands holds information about all debug commands.
var debugCommands []*cmdInfo

// AddCommand replaces parser.AddCommand() in a way that is compatible with
// AddCommand replaces parser.addCommand() in a way that is compatible with
// re-constructing a pristine parser.
func AddCommand(name, shortHelp, longHelp string, builder func() flags.Commander, optDescs map[string]string, argDescs []argDesc) *cmdInfo {
info := &cmdInfo{
Expand Down
4 changes: 2 additions & 2 deletions internals/cli/cmd_help.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ var helpCategories = []HelpCategory{{
}}

// AddHelpCategory appends an existing help category to the Pebble help manual.
func AddHelpCategory(categ HelpCategory) {
helpCategories = append(helpCategories, categ)
func AddHelpCategory(category HelpCategory) {
helpCategories = append(helpCategories, category)
}

var (
Expand Down

0 comments on commit 8aa94a8

Please sign in to comment.