Skip to content

Commit

Permalink
fix overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
coryb committed Dec 3, 2015
1 parent 90ef56a commit eaddfe6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions jira/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ Command Options:
}
opts := make(map[string]interface{})

overrides := make(map[string]string)

setopt := func(name string, value interface{}) {
opts[name] = value
}
Expand Down Expand Up @@ -195,7 +193,7 @@ Command Options:
"f|queryfields=s": setopt,
"s|sort=s": setopt,
"l|limit|max_results=i": setopt,
"o|override=s%": &overrides,
"o|override=s%": &opts,
"noedit": setopt,
"edit": setopt,
"m|comment=s": setopt,
Expand All @@ -208,7 +206,6 @@ Command Options:
usage(false)
}
args := op.Args
opts["overrides"] = overrides

var command string
if len(args) > 0 {
Expand Down

0 comments on commit eaddfe6

Please sign in to comment.