From 1fbce012ed85f385be4add710c2de5bb09c81998 Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Sat, 11 Apr 2020 04:12:38 +0200 Subject: msg/archive: complete the possible options --- commands/msg/archive.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'commands/msg') diff --git a/commands/msg/archive.go b/commands/msg/archive.go index 966d598..783ab04 100644 --- a/commands/msg/archive.go +++ b/commands/msg/archive.go @@ -32,7 +32,8 @@ func (Archive) Aliases() []string { } func (Archive) Complete(aerc *widgets.Aerc, args []string) []string { - return nil + valid := []string{"flat", "year", "month"} + return commands.CompletionFromList(valid, args) } func (Archive) Execute(aerc *widgets.Aerc, args []string) error { -- cgit v1.2.3