mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-19 04:33:28 +02:00
fix command line parser broken in 0.0.10
This commit is contained in:
+1
-1
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user