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 GitHub
parent d7e2e3c75a
commit 033c11ff18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,