Skip to content

Commit

Permalink
Clarify description of "-y" option
Browse files Browse the repository at this point in the history
Clarify the description of the "-y" option so that it is obvious that the option refers only to installing completion.
  • Loading branch information
AdamSLevy authored Aug 23, 2018
1 parent e037c22 commit 752e8dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}

Expand Down

0 comments on commit 752e8dc

Please sign in to comment.