From 1109034c8729234424d47bd94e7cc01dcec15ce3 Mon Sep 17 00:00:00 2001 From: verse91 Date: Sat, 11 Apr 2026 20:53:02 +0700 Subject: [PATCH] fix(spec): handle value attached flags --- commands/core/spec.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/core/spec.go b/commands/core/spec.go index c717f9b..a947d3d 100644 --- a/commands/core/spec.go +++ b/commands/core/spec.go @@ -115,8 +115,8 @@ func Lookup(input string) []Suggestion { break } - // skip options - if strings.HasPrefix(tok, "-") { + // skip options + if strings.HasPrefix(tok, "-") || strings.Contains(tok, "=") { depth++ continue }