From 03caf92b492d4e9e6c11c99760ec535e1ea5f163 Mon Sep 17 00:00:00 2001 From: amanape <83104063+amanape@users.noreply.github.com> Date: Wed, 4 Mar 2026 13:41:55 +0400 Subject: [PATCH] remove legacy --both flag from installer --- CHANGELOG.md | 3 +++ bin/install.js | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4923bd115..89eca6ad5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Unreleased] +### Removed +- `--both` installer flag — use `--claude --opencode` or `--all` instead + ## [1.22.4] - 2026-03-03 ### Added diff --git a/bin/install.js b/bin/install.js index b7f11e4cf..4f69b26bd 100755 --- a/bin/install.js +++ b/bin/install.js @@ -41,7 +41,6 @@ const hasOpencode = args.includes('--opencode'); const hasClaude = args.includes('--claude'); const hasGemini = args.includes('--gemini'); const hasCodex = args.includes('--codex'); -const hasBoth = args.includes('--both'); // Legacy flag, keeps working const hasAll = args.includes('--all'); const hasUninstall = args.includes('--uninstall') || args.includes('-u'); @@ -49,8 +48,6 @@ const hasUninstall = args.includes('--uninstall') || args.includes('-u'); let selectedRuntimes = []; if (hasAll) { selectedRuntimes = ['claude', 'opencode', 'gemini', 'codex']; -} else if (hasBoth) { - selectedRuntimes = ['claude', 'opencode']; } else { if (hasOpencode) selectedRuntimes.push('opencode'); if (hasClaude) selectedRuntimes.push('claude');