mirror of
https://github.com/spf13/cobra
synced 2025-01-28 22:46:46 +00:00
Resolve gofmt error
This commit is contained in:
parent
b4f26aebb9
commit
5df541d5ef
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ func (c *Command) getCompletions(args []string) (*Command, []string, ShellCompDi
|
|||
}
|
||||
} else {
|
||||
directive = ShellCompDirectiveDefault
|
||||
|
||||
|
||||
customShellCompDirective := finalCmd.CompletionOptions.DefaultShellCompDirective
|
||||
if customShellCompDirective != ShellCompDirectiveDefault {
|
||||
directive = customShellCompDirective
|
||||
|
|
Loading…
Reference in a new issue