about summary refs log tree commit diff stats
path: root/commands/msg
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2020-05-20 08:48:23 +0800
committerReto Brunner <reto@labrat.space>2020-05-21 18:11:47 +0200
commita7986f5706a9ee93ab084331effcb7136b4ae50e (patch)
tree2c221a30ec2e4060eec6b0623aec6ae4fcf14f7b /commands/msg
parent2e7f15b6982fbddfd8a0a2d04542d9041299a7f4 (diff)
downloadaerc-a7986f5706a9ee93ab084331effcb7136b4ae50e.tar.gz
Fix typos
Diffstat (limited to 'commands/msg')
-rw-r--r--commands/msg/mark.go2
-rw-r--r--commands/msg/read.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/commands/msg/mark.go b/commands/msg/mark.go
index 6738a5e..3955f4a 100644
--- a/commands/msg/mark.go
+++ b/commands/msg/mark.go
@@ -77,7 +77,7 @@ func (Mark) Execute(aerc *widgets.Aerc, args []string) error {
 
 	case "unmark":
 		if visual {
-			return fmt.Errorf("visual mode not suported for this command")
+			return fmt.Errorf("visual mode not supported for this command")
 		}
 
 		if all && toggle {
diff --git a/commands/msg/read.go b/commands/msg/read.go
index dcb9657..1e264c2 100644
--- a/commands/msg/read.go
+++ b/commands/msg/read.go
@@ -51,7 +51,7 @@ func (Read) Execute(aerc *widgets.Aerc, args []string) error {
 	}
 
 	if toggle {
-		// ignore commmand given, simply toggle all the read states
+		// ignore command given, simply toggle all the read states
 		return submitToggle(aerc, store, h)
 	}
 	msgUids, err := h.markedOrSelectedUids()