diff options
author | inwit <inwit@sindominio.net> | 2023-11-12 13:42:59 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-11-23 00:14:29 +0100 |
commit | fed43457403fb09102968f13fe8b1ce994517c74 (patch) | |
tree | 591e2884ba92ac53eb7636bb4a38eb7eda3e178d | |
parent | 79940fe646153744ce428b08b8314e641d59293b (diff) | |
download | aerc-fed43457403fb09102968f13fe8b1ce994517c74.tar.gz |
fold: remove aliases from struct
There's no need to specify aliases if an option applies to all the
aliases of a command. Remove aliases for :fold's toggle option.
Signed-Off-By: inwit <inwit@sindominio.net>
Acked-by: Robin Jarry <robin@jarry.cc>
-rw-r--r-- | commands/msg/fold.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msg/fold.go b/commands/msg/fold.go index a05d71ca..e8eb7741 100644 --- a/commands/msg/fold.go +++ b/commands/msg/fold.go @@ -8,7 +8,7 @@ import ( type Fold struct { All bool `opt:"-a"` - Toggle bool `opt:"-t" aliases:"fold,unfold"` + Toggle bool `opt:"-t"` } func init() { |