{"version":"2.1.334","anchor":"cli-refuses-a-settings-style-flag-swallowed-as-another-optio","canonical_anchor":"cli-refuses-a-settings-style-flag-swallowed-as-another-optio","heading":"Commands stop when a flag is mistaken for another option's value","tier":"notice","area":"CLI","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/cli-refuses-a-settings-style-flag-swallowed-as-another-optio","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Commands stop when a flag is mistaken for another option's value\n\nIf 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\n\n**What**\n\nA 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.\n\nIf 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:\n\n- join an option to its value with =, as in `--message=`\n\n- put .\/ in front of a wildcard pattern so the shell does not turn it into a flag\n\n**Why**\n\nBefore, 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.\n\n- Area: CLI\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}