aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/modify-labels.go
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2019-12-21 16:21:27 +0100
committerDrew DeVault <sir@cmpwn.com>2019-12-21 11:20:12 -0500
commit00263bf8668130abb4aa5ac3383aeb9865e71328 (patch)
tree5db84bafed877af46220e3c79771cb6498946bc0 /commands/msg/modify-labels.go
parent40ceee969bd29508c1da28052c95eb85a52650ba (diff)
downloadaerc-00263bf8668130abb4aa5ac3383aeb9865e71328.tar.gz
modify-labels: add completion
Diffstat (limited to 'commands/msg/modify-labels.go')
-rw-r--r--commands/msg/modify-labels.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/msg/modify-labels.go b/commands/msg/modify-labels.go
index a18fc157..a53292e4 100644
--- a/commands/msg/modify-labels.go
+++ b/commands/msg/modify-labels.go
@@ -4,6 +4,7 @@ import (
"errors"
"time"
+ "git.sr.ht/~sircmpwn/aerc/commands"
"git.sr.ht/~sircmpwn/aerc/widgets"
"git.sr.ht/~sircmpwn/aerc/worker/types"
"github.com/gdamore/tcell"
@@ -20,7 +21,7 @@ func (ModifyLabels) Aliases() []string {
}
func (ModifyLabels) Complete(aerc *widgets.Aerc, args []string) []string {
- return nil
+ return commands.GetLabels(aerc, args)
}
func (ModifyLabels) Execute(aerc *widgets.Aerc, args []string) error {