diff options
author | Michael Muré <batolettre@gmail.com> | 2022-12-27 19:48:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-27 19:48:19 +0100 |
commit | d11ea5c2adec0fd92be30d3e3bdd1b5679d4118c (patch) | |
tree | bd77aa36941db325dcefd6440e4fe913e88708fa /commands/bug/bug_deselect.go | |
parent | b11f60f5c02bd1c86cf14e58e90de4fe5e454e7c (diff) | |
parent | e920987860dd9392fefc4b222aa4d2446b74f3d8 (diff) | |
download | git-bug-d11ea5c2adec0fd92be30d3e3bdd1b5679d4118c.tar.gz |
Merge pull request #962 from MichaelMure/select-completion
commands: generic "select" code, move bug completion in bugcmd
Diffstat (limited to 'commands/bug/bug_deselect.go')
-rw-r--r-- | commands/bug/bug_deselect.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/commands/bug/bug_deselect.go b/commands/bug/bug_deselect.go index 7e2a86c9..090a7bf2 100644 --- a/commands/bug/bug_deselect.go +++ b/commands/bug/bug_deselect.go @@ -3,8 +3,9 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/bug/select" "github.com/MichaelMure/git-bug/commands/execenv" + _select "github.com/MichaelMure/git-bug/commands/select" + "github.com/MichaelMure/git-bug/entities/bug" ) func newBugDeselectCommand() *cobra.Command { @@ -28,7 +29,7 @@ git bug deselect } func runBugDeselect(env *execenv.Env) error { - err := _select.Clear(env.Backend) + err := _select.Clear(env.Backend, bug.Namespace) if err != nil { return err } |