Skip to content

Commit a313d80

Browse files
patrickReiisaschmahmann
authored andcommitted
doc: clarify flag inheritance explanation
1 parent d66a3e3 commit a313d80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

command.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ type PostRunMap map[PostRunType]func(Response, ResponseEmitter) error
3333
// Command is a runnable command, with input arguments and options (flags).
3434
// It can also have Subcommands, to group units of work into sets.
3535
type Command struct {
36-
// Options defines the flags accepted by the command. Flags on specified
37-
// on parent commands are inherited by sub commands.
36+
// Options defines the flags accepted by the command. Flags specified
37+
// by parent commands are inherited by sub commands.
3838
Options []Option
3939

4040
// Arguments defines the positional arguments for the command. These

0 commit comments

Comments
 (0)