JMS #14: Moving toward having and app object

This commit is contained in:
Jeremy Saenz
2013-07-19 08:34:01 -07:00
parent 435c4d704c
commit 6664835bc1
8 changed files with 72 additions and 75 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ type Command struct {
func (command Command) Run(c *Context) {
set := flagSet(command.Flags)
set.Parse(c.Args()[1:])
command.Action(NewContext(set, c.globalSet))
command.Action(NewContext(c.App, set, c.globalSet))
}
func (command Command) HasName(name string) bool {