{"version":"2.1.326","anchor":"permission-mode-and-iterm2-error-messages-reworded","canonical_anchor":"permission-mode-and-iterm2-error-messages-reworded","heading":"Clearer error for an unknown permission mode and a reworded iTerm2 message","tier":"notice","area":"Permissions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/permission-mode-and-iterm2-error-messages-reworded","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Clearer error for an unknown permission mode and a reworded iTerm2 message\n\nAn invalid --permission-mode value now gives \"Unknown permission mode\" and \"Use one of:\", and the iTerm2 restore failure message is reworded\n\n**What**\n\nIf you start Claude Code with a value for `--permission-mode` that it does not recognise, the error now reads \"Unknown permission mode\", then the value you gave, then \"Use one of:\" and the list of valid modes. Before, it read \"Invalid permission mode\" and \"Valid modes:\". The old message also had a fault in how its text was built.\n\nThe message shown when Claude Code fails to restore its iTerm2 setup has also been reworded.\n\n**Why**\n\nIf you mistype a permission mode, the error now says plainly what went wrong and what you can use instead.\n\n- Area: Permissions\n- Names: `--permission-mode`\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}