summaryrefslogtreecommitdiff
path: root/command.go
diff options
context:
space:
mode:
authorEyal Posener <[email protected]>2017-05-11 20:51:33 +0300
committerEyal Posener <[email protected]>2017-05-11 20:51:33 +0300
commitba23c350c73d2dfdf071c14c22152bcaf7e7fd7b (patch)
tree4265893d0c665ba0e763482a70c9044fa983a1ed /command.go
parent115e175c3d254b3a4797607821a0aab6f08058bb (diff)
Fix comment
Diffstat (limited to 'command.go')
-rw-r--r--command.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.go b/command.go
index 6557162..80b2f99 100644
--- a/command.go
+++ b/command.go
@@ -51,7 +51,7 @@ func (c *Command) predict(a Args) (options []string, only bool) {
options = append(options, c.subCommands(a.Last)...)
}
- // add global available complete Predict
+ // add global available complete options
for flag := range c.Flags {
if match.Prefix(flag, a.Last) {
options = append(options, flag)