summaryrefslogtreecommitdiff
path: root/cmd/cmd.go
diff options
context:
space:
mode:
authorAdam S Levy <[email protected]>2018-08-22 16:40:56 -0800
committerGitHub <[email protected]>2018-08-22 16:40:56 -0800
commit752e8dc2ac78f5954695504a9e5fded054f6a1bf (patch)
tree82f634a35a9bf2c0ad95e48f50886f1e37ccc60b /cmd/cmd.go
parente037c22b2fcfa85e74495388f03892ed194bba76 (diff)
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.
Diffstat (limited to 'cmd/cmd.go')
-rw-r--r--cmd/cmd.go2
1 files changed, 1 insertions, 1 deletions
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")
}
}