From e920987860dd9392fefc4b222aa4d2446b74f3d8 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Tue, 27 Dec 2022 19:40:40 +0100 Subject: commands: generic "select" code, move bug completion in bugcmd --- commands/bug/bug_rm.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'commands/bug/bug_rm.go') diff --git a/commands/bug/bug_rm.go b/commands/bug/bug_rm.go index 04881d54..386c57ec 100644 --- a/commands/bug/bug_rm.go +++ b/commands/bug/bug_rm.go @@ -5,7 +5,6 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/completion" "github.com/MichaelMure/git-bug/commands/execenv" ) @@ -20,7 +19,7 @@ func newBugRmCommand() *cobra.Command { RunE: execenv.CloseBackend(env, func(cmd *cobra.Command, args []string) error { return runBugRm(env, args) }), - ValidArgsFunction: completion.Bug(env), + ValidArgsFunction: BugCompletion(env), } flags := cmd.Flags() -- cgit