From 752e8dc2ac78f5954695504a9e5fded054f6a1bf Mon Sep 17 00:00:00 2001 From: Adam S Levy Date: Wed, 22 Aug 2018 16:40:56 -0800 Subject: [PATCH] Clarify description of "-y" option Clarify the description of the "-y" option so that it is obvious that the option refers only to installing completion. --- cmd/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cmd.go b/cmd/cmd.go index 7137dee..b99fe52 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -103,7 +103,7 @@ func (f *CLI) AddFlags(flags *flag.FlagSet) { fmt.Sprintf("Uninstall completion for %s command", f.Name)) } if flags.Lookup("y") == nil { - flags.BoolVar(&f.yes, "y", false, "Don't prompt user for typing 'yes'") + flags.BoolVar(&f.yes, "y", false, "Don't prompt user for typing 'yes' when installing completion") } }