Skip to content

Commit

Permalink
doc: clarify flag inheritance explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickReiis authored and aschmahmann committed Aug 21, 2023
1 parent d66a3e3 commit a313d80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ type PostRunMap map[PostRunType]func(Response, ResponseEmitter) error
// Command is a runnable command, with input arguments and options (flags).
// It can also have Subcommands, to group units of work into sets.
type Command struct {
// Options defines the flags accepted by the command. Flags on specified
// on parent commands are inherited by sub commands.
// Options defines the flags accepted by the command. Flags specified
// by parent commands are inherited by sub commands.
Options []Option

// Arguments defines the positional arguments for the command. These
Expand Down

0 comments on commit a313d80

Please sign in to comment.