Skip to content

Commit

Permalink
cli: update documentation for Run function
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Whited <[email protected]>
  • Loading branch information
SamWhited committed Jun 9, 2021
1 parent e61e7fc commit df287f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type Command struct {

// The action to take when this command is executed. The args will be the
// remaining command line args after all flags have been parsed.
// Run is normally called by a CommandSet and shouldn't be called directly.
// Run is normally called by the Exec method and shouldn't be called directly.
Run func(c *Command, args ...string) error
}

Expand Down

0 comments on commit df287f2

Please sign in to comment.