Skip to content

Commit

Permalink
fix transition comman
Browse files Browse the repository at this point in the history
  • Loading branch information
coryb committed Oct 28, 2017
1 parent 66c069e commit 9597f9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jiracmd/transition.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ func CmdTransitionRegistry(transition string) *jiracli.CommandRegistryEntry {
help,
func(fig *figtree.FigTree, cmd *kingpin.CmdClause) error {
jiracli.LoadConfigs(cmd, fig, &opts)
return CmdTransitionUsage(cmd, &opts)
},
func(o *oreo.Client, globals *jiracli.GlobalOptions) error {
if opts.Transition == "" {
opts.Transition = transition
}
return CmdTransitionUsage(cmd, &opts)
},
func(o *oreo.Client, globals *jiracli.GlobalOptions) error {
return CmdTransition(o, globals, &opts)
},
}
Expand Down

0 comments on commit 9597f9b

Please sign in to comment.