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.
This commit is contained in:
Adam S Levy 2018-08-22 16:40:56 -08:00 committed by GitHub
parent e037c22b2f
commit 752e8dc2ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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")
}
}