From 1e0551fca49b919077c47adbbac5f7a09cb57a49 Mon Sep 17 00:00:00 2001 From: Connor Mann <34930543+cnnrmnn@users.noreply.github.com> Date: Fri, 7 May 2021 09:42:19 -0400 Subject: [PATCH] Add no-op message Co-authored-by: Mike McQuaid --- Library/Homebrew/cmd/tap.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb index 2713cf4637..4bc71e4041 100644 --- a/Library/Homebrew/cmd/tap.rb +++ b/Library/Homebrew/cmd/tap.rb @@ -58,6 +58,16 @@ module Homebrew elsif args.no_named? puts Tap.names else + if args.full? + opoo "`brew tap --full` is now a no-op!" + # odeprecated "`brew tap --full`" + end + + if args.shallow? + opoo "`brew tap --shallow` is now a no-op!" + # odeprecated "`brew tap --shallow`" + end + tap = Tap.fetch(args.named.first) begin tap.install clone_target: args.named.second,