From 464e857344b3b683b8f07eda4f951240f3c4d2b7 Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Fri, 18 Jul 2025 15:03:48 +0800 Subject: [PATCH] bundle: --file and --global should conflict Addresses https://github.com/orgs/Homebrew/discussions/6292. --- Library/Homebrew/cmd/bundle.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/cmd/bundle.rb b/Library/Homebrew/cmd/bundle.rb index 577a7e3849..93172b0f47 100755 --- a/Library/Homebrew/cmd/bundle.rb +++ b/Library/Homebrew/cmd/bundle.rb @@ -127,6 +127,7 @@ module Homebrew conflicts "--all", "--no-vscode" conflicts "--vscode", "--no-vscode" conflicts "--install", "--upgrade" + conflicts "--file=", "--global" named_args %w[install dump cleanup check exec list sh env edit] end