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 /commands/new-account.go | |
parent | 57471a0e67feb37aff1ab5aeb3f2712ea327fa55 (diff) | |
download | aerc-a98824af758a14c725d2503868b64ede410883e7.tar.gz |
Fix :new-account getopts
Diffstat (limited to 'commands/new-account.go')
-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 a98b597c..9e70dec2 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]") } |