Merge pull request #334 from djui/patch-1

Fix semantic typo
main
Jesse Szwedko 9 years ago
commit 5db74198de

@ -27,7 +27,7 @@ type Command struct {
// An action to execute before any sub-subcommands are run, but after the context is ready // An action to execute before any sub-subcommands are run, but after the context is ready
// If a non-nil error is returned, no sub-subcommands are run // If a non-nil error is returned, no sub-subcommands are run
Before func(context *Context) error Before func(context *Context) error
// An action to execute after any subcommands are run, but after the subcommand has finished // An action to execute after any subcommands are run, but before the subcommand has finished
// It is run even if Action() panics // It is run even if Action() panics
After func(context *Context) error After func(context *Context) error
// The function to call when this command is invoked // The function to call when this command is invoked

Loading…
Cancel
Save