about summary refs log tree commit diff stats
path: root/commands/msg/reply.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/reply.go')
-rw-r--r--commands/msg/reply.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/msg/reply.go b/commands/msg/reply.go
index a9ae5a1..51f6584 100644
--- a/commands/msg/reply.go
+++ b/commands/msg/reply.go
@@ -24,11 +24,11 @@ func init() {
 }
 
 func Reply(aerc *widgets.Aerc, args []string) error {
-	opts, optind, err := getopt.Getopts(args[1:], "aq")
+	opts, optind, err := getopt.Getopts(args, "aq")
 	if err != nil {
 		return err
 	}
-	if optind != len(args)-1 {
+	if optind != len(args) {
 		return errors.New("Usage: reply [-aq]")
 	}
 	var (