Skip to content

Commit

Permalink
fix command line parser broken in 0.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory Bennett committed Sep 17, 2015
1 parent e2c27f1 commit 15ae929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jira/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Command Options:
// check to see if it was set in the configs:
if value, ok := opts["command"].(string); ok {
command = value
} else {
} else if _, ok := jiraCommands[command]; !ok || command == "" {
args = append([]string{command}, args...)
command = "view"
}
Expand Down

0 comments on commit 15ae929

Please sign in to comment.