diff options
author | inwit <inwit@sindominio.net> | 2022-10-13 10:24:01 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-10-17 22:04:46 +0200 |
commit | e46e3d4227ac84fc32d1e70b96de940a05d26bbd (patch) | |
tree | 0b4bb62d725891f705b389a7294e1e8a57b04afc | |
parent | 00daa226f4c4ee6ae86264e069ba56c923f40977 (diff) | |
download | aerc-e46e3d4227ac84fc32d1e70b96de940a05d26bbd.tar.gz |
notmuch: add "tag" alias for modify-labels command
In order to make things easier for newcomers from notmuch, add a tag command
which is just an alias for modify-labels.
Signed-off-by: inwit <inwit@sindominio.net>
Acked-by: Tim Culverhouse <tim@timculverhouse.com>
-rw-r--r-- | commands/msg/modify-labels.go | 2 | ||||
-rw-r--r-- | doc/aerc.1.scd | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/commands/msg/modify-labels.go b/commands/msg/modify-labels.go index d0a5d6fa..02eed520 100644 --- a/commands/msg/modify-labels.go +++ b/commands/msg/modify-labels.go @@ -16,7 +16,7 @@ func init() { } func (ModifyLabels) Aliases() []string { - return []string{"modify-labels"} + return []string{"modify-labels", "tag"} } func (ModifyLabels) Complete(aerc *widgets.Aerc, args []string) []string { diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index 5898f21d..3b771eaf 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -242,6 +242,7 @@ message list, the message in the message viewer, etc). Operates exactly like *flag*, defaulting to unsetting (disabling) flags. *modify-labels* <[+-]label>... +*tag* <[+-]label>... Modify message labels (e.g. notmuch tags). Labels prefixed with a '+' are added, those prefixed with a '-' removed. As a convenience, labels without either operand add the specified label. |