Merge pull request #334 from djui/patch-1

Fix semantic typo
This commit is contained in:
Jesse Szwedko 2016-02-17 19:24:44 -08:00
commit 5db74198de

View File

@ -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