From cc01b1b220cd4446f0bb226b97ee715716c803f7 Mon Sep 17 00:00:00 2001 From: tiulpin Date: Mon, 5 Dec 2022 17:36:07 +0100 Subject: [PATCH] A very important fix --- completions.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/completions.go b/completions.go index e8a0206d..6accacd8 100644 --- a/completions.go +++ b/completions.go @@ -113,7 +113,12 @@ type CompletionOptions struct { // NoFileCompletions can be used to disable file completion for commands that should // 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 }