Fix :new-account getopts

This commit is contained in:
Drew DeVault 2019-06-09 19:14:56 -04:00
parent 57471a0e67
commit a98824af75
1 changed files with 1 additions and 1 deletions

View File

@ -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]")
}