Remove useless duplicate import

This commit is contained in:
maxlandon 2023-11-02 15:34:36 +01:00
parent 69578f24ad
commit 1548134ccb
No known key found for this signature in database
GPG key ID: 2DE5C14975A86900

View file

@ -21,7 +21,6 @@ import (
"sync" "sync"
"github.com/spf13/pflag" "github.com/spf13/pflag"
flag "github.com/spf13/pflag"
) )
const ( const (
@ -185,7 +184,7 @@ func (c *Command) initializeCompletionStorage() {
} }
if c.flagCompletionFunctions == nil { if c.flagCompletionFunctions == nil {
c.flagCompletionFunctions = make(map[*flag.Flag]func(cmd *Command, args []string, toComplete string) ([]string, ShellCompDirective), 0) c.flagCompletionFunctions = make(map[*pflag.Flag]func(cmd *Command, args []string, toComplete string) ([]string, ShellCompDirective), 0)
} }
} }