aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg')
-rw-r--r--commands/msg/archive.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/msg/archive.go b/commands/msg/archive.go
index 966d5986..783ab049 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 {