summaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/msg/mark.go2
-rw-r--r--commands/msg/read.go2
-rw-r--r--commands/util.go2
3 files changed, 3 insertions, 3 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()
diff --git a/commands/util.go b/commands/util.go
index e3395fd..fdf20bd 100644
--- a/commands/util.go
+++ b/commands/util.go
@@ -17,7 +17,7 @@ import (
"github.com/mitchellh/go-homedir"
)
-// QuickTerm is an ephemeral terminal for running a single command and quiting.
+// QuickTerm is an ephemeral terminal for running a single command and quitting.
func QuickTerm(aerc *widgets.Aerc, args []string, stdin io.Reader) (*widgets.Terminal, error) {
cmd := exec.Command(args[0], args[1:]...)
pipe, err := cmd.StdinPipe()