Skip to content

Commit

Permalink
fix the issue to go green
Browse files Browse the repository at this point in the history
  • Loading branch information
jwaldrip committed Oct 13, 2014
1 parent 0a431e8 commit 134ed94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/subCommand_parsing.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ func (cmd *CLI) parseSubCommands(args []string) ([]string, bool) {
name := args[0]
subcmd, ok := cmd.subCommands[name]
if !ok {
subcmd.errf("invalid command: %s", name)
cmd.errf("invalid command: %s", name)
return args, false
}
subcmd.Start(args...)

Expand Down

0 comments on commit 134ed94

Please sign in to comment.