Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix login error
  • Loading branch information
dcarroll committed Jun 19, 2014
1 parent c25c025 commit 96b0d40
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions command.go
Expand Up @@ -28,10 +28,10 @@ func (c *Command) printUsage() {

func (c *Command) Name() string {
name := c.Usage
//i := strings.Index(name, " ")
//if i >= 0 {
// name = name[:i]
//}
i := strings.Index(name, " ")
if i >= 0 {
name = name[:i]
}
return name
}

Expand Down

0 comments on commit 96b0d40

Please sign in to comment.