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
1 changed files with 0 additions and 4 deletions

View File

@ -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 {