All completion tests pass again

This commit is contained in:
Kovid Goyal
2022-09-26 11:54:57 +05:30
parent 262e2fb7a3
commit 3bd4fd999a
5 changed files with 7 additions and 3 deletions

View File

@@ -31,6 +31,8 @@ type Command struct {
ArgCompleter CompletionFunc
// Stop completion processing at this arg num
StopCompletingAtArg int
// Consider all args as non-options args
OnlyArgsAllowed bool
// Specialised arg aprsing
ParseArgsForCompletion func(cmd *Command, args []string, completions *Completions)