Flag values starting with a dash are no longer mangled into a separate flag.
What's wrong with this entry?
Rewriting a flag's value no longer mangles values beginning with "-", which were previously parsed as a second flag.
- a replacement value starting with "-" is written as a single
--flag=valuetoken - the following argv slot is nulled out rather than left as a separate token
if (n.startsWith("-"))
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