diff options
Diffstat (limited to 'commands/bug/bug_label.go')
-rw-r--r-- | commands/bug/bug_label.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/commands/bug/bug_label.go b/commands/bug/bug_label.go index 657fa2ca..e6d0e603 100644 --- a/commands/bug/bug_label.go +++ b/commands/bug/bug_label.go @@ -3,8 +3,6 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/bug/select" - "github.com/MichaelMure/git-bug/commands/completion" "github.com/MichaelMure/git-bug/commands/execenv" ) @@ -18,7 +16,7 @@ func newBugLabelCommand() *cobra.Command { RunE: execenv.CloseBackend(env, func(cmd *cobra.Command, args []string) error { return runBugLabel(env, args) }), - ValidArgsFunction: completion.Bug(env), + ValidArgsFunction: BugCompletion(env), } cmd.AddCommand(newBugLabelNewCommand()) @@ -28,7 +26,7 @@ func newBugLabelCommand() *cobra.Command { } func runBugLabel(env *execenv.Env, args []string) error { - b, args, err := _select.ResolveBug(env.Backend, args) + b, args, err := ResolveSelected(env.Backend, args) if err != nil { return err } |