cask/cmd/list: remove deprecated -l.

This crashes `brew style`.
This commit is contained in:
Mike McQuaid 2020-05-12 09:09:59 +01:00
parent 12bdb38663
commit fe6cca3540
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -7,11 +7,6 @@ module Cask
option "--versions", :versions, false
option "--full-name", :full_name, false
option "-l", (lambda do |*|
one = true # rubocop:disable Lint/UselessAssignment
opoo "Option -l is obsolete! Implying option -1."
end)
def run
args.any? ? list : list_installed
end