From 461a39d5b9353091df9cd9852334113d2d9f22b9 Mon Sep 17 00:00:00 2001 From: Haim Ashkenazi Date: Thu, 1 Mar 2018 08:02:33 +0200 Subject: [PATCH] zsh-completion: removed forgotten function. --- zsh_completions.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/zsh_completions.go b/zsh_completions.go index 1c1c8885..41703468 100644 --- a/zsh_completions.go +++ b/zsh_completions.go @@ -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 {