Mike McQuaid d496f5c121
Deprecations for Homebrew 2.6.0
Do the usual deprecate/disable dance for the Homebrew 2.6.0 release.

Not to be merged until the next release will definitely be 2.6.0.
2020-11-24 16:44:02 +00:00

21 lines
353 B
Ruby

# typed: true
# frozen_string_literal: true
module Homebrew
module Compat
attr_writer :args
def args
unless @printed_args_warning
odisabled "Homebrew.args", "`args = <command>_args.parse` and pass `args` along the call chain"
end
@args ||= CLI::Args.new
end
end
class << self
prepend Compat
end
end