zsh-completion: removed forgotten function.

This commit is contained in:
Haim Ashkenazi 2018-03-01 08:02:33 +02:00 committed by Steve Francia
parent df12a0a249
commit 461a39d5b9

View file

@ -115,10 +115,6 @@ func extractFlags(c *Command) []*pflag.Flag {
return flags
}
func simpleFlag(p *pflag.Flag) bool {
return p.Name == "" || p.Shorthand == ""
}
// genFlagEntryForZshArguments returns an entry that matches _arguments
// zsh-completion parameters. It's too complicated to generate in a template.
func genFlagEntryForZshArguments(f *pflag.Flag) string {