Add no-op message

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Connor Mann 2021-05-07 09:42:19 -04:00 committed by cnnrmnn
parent 1d70c28178
commit 1e0551fca4

View File

@ -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,