Various fixes from the completion merge

This commit is contained in:
Kovid Goyal 2022-09-26 11:22:48 +05:30
parent 97716fea8b
commit 262e2fb7a3
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
8 changed files with 15 additions and 9 deletions

View file

@ -209,6 +209,8 @@ func (self *Command) ResetAfterParseArgs() {
o.reset()
}
}
self.option_map = nil
self.IndexOfFirstArg = 0
self.Args = make([]string, 0, 8)
}