aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/new-account.go2
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]")
}