mirror of
https://github.com/spf13/cobra
synced 2025-01-29 23:16:48 +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 {
|
} else {
|
||||||
directive = ShellCompDirectiveDefault
|
directive = ShellCompDirectiveDefault
|
||||||
|
|
||||||
customShellCompDirective := finalCmd.CompletionOptions.DefaultShellCompDirective
|
customShellCompDirective := finalCmd.CompletionOptions.DefaultShellCompDirective
|
||||||
if customShellCompDirective != ShellCompDirectiveDefault {
|
if customShellCompDirective != ShellCompDirectiveDefault {
|
||||||
directive = customShellCompDirective
|
directive = customShellCompDirective
|
||||||
|
|
Loading…
Reference in a new issue