Claude Code v2.1.221 ·
CLI argument rewriting handles values that start with a dash
Flag values starting with a dash are no longer mangled into a separate flag.
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
CLI ArgumentsArea: what it touches
Bug FixesKind: in v2.1.221,
Bug FixesSection of the release
What
Rewriting a flag's value no longer mangles values beginning with "-", which were previously parsed as a second flag.
Details
- a replacement value starting with "-" is written as a single
--flag=value token - the following argv slot is nulled out rather than left as a separate token
Evidence
if (n.startsWith("-"))
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.221 →