mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
21 lines
292 B
Ruby
21 lines
292 B
Ruby
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
require "compat/global"
|
|
|
|
module Homebrew
|
|
module CLI
|
|
class Parser
|
|
module Compat
|
|
def parse(*)
|
|
args = super
|
|
Homebrew.args = args.dup
|
|
args
|
|
end
|
|
end
|
|
|
|
prepend Compat
|
|
end
|
|
end
|
|
end
|