Fix :new-account getopts
This commit is contained in:
parent
57471a0e67
commit
a98824af75
1 changed files with 1 additions and 1 deletions
|
@ -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]")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue