mirror of
https://github.com/spf13/cobra
synced 2024-11-24 22:57:12 +00:00
zsh-completion: removed forgotten function.
This commit is contained in:
parent
df12a0a249
commit
461a39d5b9
1 changed files with 0 additions and 4 deletions
|
@ -115,10 +115,6 @@ func extractFlags(c *Command) []*pflag.Flag {
|
||||||
return flags
|
return flags
|
||||||
}
|
}
|
||||||
|
|
||||||
func simpleFlag(p *pflag.Flag) bool {
|
|
||||||
return p.Name == "" || p.Shorthand == ""
|
|
||||||
}
|
|
||||||
|
|
||||||
// genFlagEntryForZshArguments returns an entry that matches _arguments
|
// genFlagEntryForZshArguments returns an entry that matches _arguments
|
||||||
// zsh-completion parameters. It's too complicated to generate in a template.
|
// zsh-completion parameters. It's too complicated to generate in a template.
|
||||||
func genFlagEntryForZshArguments(f *pflag.Flag) string {
|
func genFlagEntryForZshArguments(f *pflag.Flag) string {
|
||||||
|
|
Loading…
Reference in a new issue