fix(spec): handle value attached flags
This commit is contained in:
@@ -115,8 +115,8 @@ func Lookup(input string) []Suggestion {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
// skip options
|
// skip options
|
||||||
if strings.HasPrefix(tok, "-") {
|
if strings.HasPrefix(tok, "-") || strings.Contains(tok, "=") {
|
||||||
depth++
|
depth++
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user