{"version":"2.1.285","anchor":"headless-cli-argument-classification-list","canonical_anchor":"headless-cli-argument-classification-list","heading":"Changed list of startup flags Claude Code singles out","tier":"internal","area":"Startup","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285\/e\/headless-cli-argument-classification-list","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285","markdown":"### Changed list of startup flags Claude Code singles out\n\nClaude Code now keeps a set of startup flags, including `--print`, `--background` and `--version`, that it treats as a group\n\n**Unclear.** How Claude Code uses this set of flags at startup is not shown.\n\n**What**\n\nClaude Code now defines a set of command-line flags (options you add after `claude` when you start it) that it treats as a group. The set replaces an older piece of code at the same place.\n\n- `-p` and `--print`\n\n- `--bg` and `--background`\n\n- `--routine`\n\n- `-h` and `--help`\n\n- `-v`, `-V` and `--version`\n\n**Why**\n\nThese flags start Claude Code without the usual interactive screen or make it print something and exit, so the set likely decides how Claude Code handles startup when one of them is given.\n\n- Area: Startup\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}