You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- is the end-of-options delimiter, so everything following it should remain positional even when it looks like a flag.
flag.FlagSet.Parse strips the delimiter, after which ParseToEnd scans the remaining arguments and parses --enabled a second time. Splitting the original arguments at -- before parsing would preserve the delimiter semantics.
This affects direct users of xflag.ParseToEnd; cli.Parse already splits its arguments at -- first.
Activity
mfridman commentedon Aug 27, 2026
Fixed by #25