mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-07 13:33:32 +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:
|
// check to see if it was set in the configs:
|
||||||
if value, ok := opts["command"].(string); ok {
|
if value, ok := opts["command"].(string); ok {
|
||||||
command = value
|
command = value
|
||||||
} else {
|
} else if _, ok := jiraCommands[command]; !ok || command == "" {
|
||||||
args = append([]string{command}, args...)
|
args = append([]string{command}, args...)
|
||||||
command = "view"
|
command = "view"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user