Fix comment
This commit is contained in:
parent
115e175c3d
commit
ba23c350c7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue