aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/fold.go
diff options
context:
space:
mode:
authorinwit <inwit@sindominio.net>2023-11-12 13:42:59 +0100
committerRobin Jarry <robin@jarry.cc>2023-11-23 00:14:29 +0100
commitfed43457403fb09102968f13fe8b1ce994517c74 (patch)
tree591e2884ba92ac53eb7636bb4a38eb7eda3e178d /commands/msg/fold.go
parent79940fe646153744ce428b08b8314e641d59293b (diff)
downloadaerc-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>
Diffstat (limited to 'commands/msg/fold.go')
-rw-r--r--commands/msg/fold.go2
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() {