{"version":"2.1.326","anchor":"session-id-error-message-shortened","canonical_anchor":"session-id-error-message-shortened","heading":"Shorter error when --session-id is combined with --continue or --resume","tier":"notice","area":"CLI","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/session-id-error-message-shortened","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Shorter error when `--session-id` is combined with `--continue` or `--resume`\n\nUsing `--session-id` with `--continue` or `--resume` but without `--fork-session` now gives a shorter error message\n\n**What**\n\nIf you start Claude Code with `--session-id` together with `--continue` or `--resume`, you must also pass `--fork-session`. If you leave it out, Claude Code stops and shows an error. That error is now shorter:\n\n`Error: --session-id with --continue or --resume also needs --fork-session.`\n\n**Why**\n\nOnly the wording changed. The rule is the same, so commands that worked before still work, and commands that failed before still fail.\n\n- Area: CLI\n- Names: `--session-id`, `--continue`, `--resume`, `--fork-session`\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}