{"version":"2.1.239","anchor":"command-line-flag-parsing-rewritten-around-an-explicit-table","canonical_anchor":"command-line-flag-parsing-rewritten-around-an-explicit-table","heading":"Command-line flag parsing rewritten around an explicit table of value-taking flags","tier":"use","area":"CLI","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.239\/e\/command-line-flag-parsing-rewritten-around-an-explicit-table","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.239","markdown":"### Command-line flag parsing rewritten around an explicit table of value-taking flags\n\nFlags that take values no longer swallow or drop their arguments, and `--` is handled.\n\n**What**\n\nArgument scanning now knows which flags take one value and which take a list, so options like `--tools`, `--mcp-config`, `--betas`, `--channels`, `--plugin-dir` and `--file` no longer swallow or lose their arguments. It also handles `--` when locating the first positional argument.\n\n**Details**\n\n- Flags that are boolean but accept an optional value, such as `-r`, `--worktree`, `--cloud` and `--rc`, are tracked separately.\n- `cc:\/\/` and `cc+unix:\/\/` targets are recognised as session addresses.\n- Detecting `-p`\/`--print` now goes through the same shared helper as everything else.\n\n**Evidence**\n\n`--dangerously-load-development-channels`\n\n- Area: CLI\n- Names: `--tools`, `--mcp-config`, `--betas`, `--channels`, `--plugin-dir`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 2\/5"}