Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

Commands stop when a flag is mistaken for another option's value

If a flag is read as the value of the option before it, Claude Code now stops and runs nothing, telling you how to fix the command

You'll notice Improvements
JSON All of v2.1.334
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
CLIArea: what it touches
ImprovementsKind: in v2.1.334,
ImprovementsSection of the release
What

A flag is an option you add to a command, such as --message. Sometimes an option that expects a value swallows the next flag as that value instead. When you run a claude subcommand other than remote control, Claude Code now checks for this case before running anything.

If it finds a known flag taken as a value, it stops with a message saying the flag "can't be read here, so nothing ran." The message suggests one of two fixes:

  • join an option to its value with =, as in --message=
  • put ./ in front of a wildcard pattern so the shell does not turn it into a flag
Why

Before, a command like this could run quietly with a mangled argument. One example is a shell wildcard that expands into something that looks like a flag. Now nothing runs until the command is fixed.

See this entry in the whole of v2.1.334 →

Feedback