From d0484b153aa5fa80c415f4025aef493eba167e12 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Sat, 12 Oct 2024 00:21:46 +0200 Subject: completion: add command option descriptions Add `desc:""` struct field tags in all command arguments where it makes sense. The description values will be returned along with completion choices. Implements: https://todo.sr.ht/~rjarry/aerc/271 Signed-off-by: Robin Jarry Tested-by: Bojan Gabric Tested-by: Jason Cox Acked-by: Tim Culverhouse --- commands/account/export-mbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/account/export-mbox.go') diff --git a/commands/account/export-mbox.go b/commands/account/export-mbox.go index fed8568e..529dbae0 100644 --- a/commands/account/export-mbox.go +++ b/commands/account/export-mbox.go @@ -19,7 +19,7 @@ import ( ) type ExportMbox struct { - Filename string `opt:"filename" complete:"CompleteFilename"` + Filename string `opt:"filename" complete:"CompleteFilename" desc:"Output file path."` } func init() { -- cgit