From b886b2d1f71813700b1b84aa8a29a89a5c472808 Mon Sep 17 00:00:00 2001 From: Alex Balgavy Date: Mon, 2 May 2022 21:14:34 +0200 Subject: [PATCH] Remove mentions of nonexistent command `brew diy` The output of `brew doctor` can mention a command `brew diy`, which no longer exists. --- Library/Homebrew/cmd/link.rb | 2 +- Library/Homebrew/diagnostic.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cmd/link.rb b/Library/Homebrew/cmd/link.rb index 7aa86db298..78cfa92f55 100644 --- a/Library/Homebrew/cmd/link.rb +++ b/Library/Homebrew/cmd/link.rb @@ -84,7 +84,7 @@ module Homebrew formula = begin keg.to_formula rescue FormulaUnavailableError - # Not all kegs may belong to formulae e.g. with `brew diy` + # Not all kegs may belong to formulae nil end diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 702a91e617..6bfcf5db7a 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -900,7 +900,7 @@ module Homebrew <<~EOS Some installed kegs have no formulae! - This means they were either deleted or installed with `brew diy`. + This means they were either deleted or installed manually. You should find replacements for the following formulae: #{deleted_formulae.join("\n ")} EOS