mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-18 20:23:28 +02:00
fix transition comman
This commit is contained in:
@@ -39,12 +39,12 @@ func CmdTransitionRegistry(transition string) *jiracli.CommandRegistryEntry {
|
|||||||
help,
|
help,
|
||||||
func(fig *figtree.FigTree, cmd *kingpin.CmdClause) error {
|
func(fig *figtree.FigTree, cmd *kingpin.CmdClause) error {
|
||||||
jiracli.LoadConfigs(cmd, fig, &opts)
|
jiracli.LoadConfigs(cmd, fig, &opts)
|
||||||
return CmdTransitionUsage(cmd, &opts)
|
|
||||||
},
|
|
||||||
func(o *oreo.Client, globals *jiracli.GlobalOptions) error {
|
|
||||||
if opts.Transition == "" {
|
if opts.Transition == "" {
|
||||||
opts.Transition = transition
|
opts.Transition = transition
|
||||||
}
|
}
|
||||||
|
return CmdTransitionUsage(cmd, &opts)
|
||||||
|
},
|
||||||
|
func(o *oreo.Client, globals *jiracli.GlobalOptions) error {
|
||||||
return CmdTransition(o, globals, &opts)
|
return CmdTransition(o, globals, &opts)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user