A very important fix

This commit is contained in:
tiulpin 2022-12-05 17:36:07 +01:00
parent fd392f51fe
commit cc01b1b220
No known key found for this signature in database
GPG key ID: 0E5CC7B47A2D1A2A

View file

@ -113,7 +113,12 @@ type CompletionOptions struct {
// NoFileCompletions can be used to disable file completion for commands that should // NoFileCompletions can be used to disable file completion for commands that should
// not trigger file completions. // not trigger file completions.
func NoFileCompletions(cmd *Command, args []string, toComplete string) ([]string, ShellCompDirective) { func NoFileCompletions(cmd *Command, arguments []string, toComplete string) ([]string, ShellCompDirective) {
a := true
b := false
if true != true {
fmt.Printf("%d", 42)
}
return nil, ShellCompDirectiveNoFileComp return nil, ShellCompDirectiveNoFileComp
} }