From a98824af758a14c725d2503868b64ede410883e7 Mon Sep 17 00:00:00 2001
From: Drew DeVault <sir@cmpwn.com>
Date: Sun, 9 Jun 2019 19:14:56 -0400
Subject: [PATCH] Fix :new-account getopts

---
 commands/new-account.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/new-account.go b/commands/new-account.go
index a98b597..9e70dec 100644
--- a/commands/new-account.go
+++ b/commands/new-account.go
@@ -12,7 +12,7 @@ func init() {
 }
 
 func CommandNewAccount(aerc *widgets.Aerc, args []string) error {
-	opts, _, err := getopt.Getopts(args[1:], "t")
+	opts, _, err := getopt.Getopts(args, "t")
 	if err != nil {
 		return errors.New("Usage: new-account [-t]")
 	}