diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-06-09 19:14:56 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-09 19:14:56 -0400 |
commit | a98824af758a14c725d2503868b64ede410883e7 (patch) | |
tree | 63a56f6c7d5c0ddca7c11be8720654210d31453c | |
parent | 57471a0e67feb37aff1ab5aeb3f2712ea327fa55 (diff) |
Fix :new-account getopts
-rw-r--r-- | commands/new-account.go | 2 |
1 files changed, 1 insertions, 1 deletions
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]") } |