21 lines
292 B
Ruby
Raw Normal View History

2020-10-10 14:16:11 +02:00
# typed: true
2020-08-06 16:14:07 +02:00
# frozen_string_literal: true
2020-09-23 03:43:54 +02:00
require "compat/global"
2020-08-06 16:14:07 +02:00
module Homebrew
module CLI
class Parser
module Compat
def parse(*)
args = super
2020-09-23 03:43:54 +02:00
Homebrew.args = args.dup
2020-08-06 16:14:07 +02:00
args
end
end
prepend Compat
end
end
end