fix command line parser broken in 0.0.10

This commit is contained in:
Cory Bennett
2015-09-16 23:04:36 -07:00
parent a4aa52fb58
commit b116764d3e
+1 -1
View File
@@ -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"
}