diff options
-rw-r--r-- | command.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ func (c *Command) eval(args []string) error { return cmd.eval(rest) } } - if err := c.Flags().Parse(rest); err != nil { return err } + if err := c.Flags().Parse(args); err != nil { return err } if c.Run != nil { c.Run(c, rest) } else { |