Restarting Claude Code no longer garbles flags whose values start with a dash.
What's wrong with this entry?
When CLI arguments are rebuilt for a respawn, a value beginning with - is now attached to its flag instead of being emitted as a separate argv entry where it could be read as another flag.
return r.startsWith("-") ? [...d, \${e}=${r}\] : [...d, e, r];
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Command-line values that look like flags or URLs are quoted safely
Both mention argument
-
v2.1.233
Custom slash-command arguments are no longer re-expanded
Both mention argument
-
v2.1.233
Slash-command arguments can no longer be expanded as placeholders
Both mention argument