mirror of
https://github.com/spf13/cobra
synced 2024-12-28 23:37:09 +00:00
Added new directive to the list of directives for posterity.
This commit is contained in:
parent
7eac0e11ae
commit
8b4aa590bb
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@ let cobra_completer = {|spans|
|
|||
let ShellCompDirectiveNoFileComp = %[3]d
|
||||
let ShellCompDirectiveFilterFileExt = %[4]d
|
||||
let ShellCompDirectiveFilterDirs = %[5]d
|
||||
let ShellCompDirectiveKeepOrder = %[6]d
|
||||
|
||||
let cmd = $spans | first
|
||||
let rest = $spans | skip
|
||||
|
@ -109,7 +110,7 @@ let cobra_completer = {|spans|
|
|||
}
|
||||
}
|
||||
`, ShellCompDirectiveError, ShellCompDirectiveNoSpace, ShellCompDirectiveNoFileComp,
|
||||
ShellCompDirectiveFilterFileExt, ShellCompDirectiveFilterDirs))
|
||||
ShellCompDirectiveFilterFileExt, ShellCompDirectiveFilterDirs, ShellCompDirectiveKeepOrder))
|
||||
|
||||
_, err := buf.WriteTo(w)
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue