Problem
The search command still interprets an option-like query token after the documented -- end-of-options delimiter.
Reproduction
dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll search --json -- --fields
Actual result:
Error [E010_USAGE_ERROR]: --fields requires a value.
Expected
After --, --fields is treated as the literal search query instead of a CLI option. Other option-like query tokens should follow the same rule.
Scope
Preserve the end-of-options boundary before generic bounded-output option parsing, with regression coverage for option-like literal queries.
Problem
The search command still interprets an option-like query token after the documented
--end-of-options delimiter.Reproduction
Actual result:
Expected
After
--,--fieldsis treated as the literal search query instead of a CLI option. Other option-like query tokens should follow the same rule.Scope
Preserve the end-of-options boundary before generic bounded-output option parsing, with regression coverage for option-like literal queries.