mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
24 lines
431 B
Ruby
24 lines
431 B
Ruby
# typed: strict
|
|
# frozen_string_literal: true
|
|
|
|
module OS
|
|
module Linux
|
|
module CLI
|
|
module Parser
|
|
extend T::Helpers
|
|
|
|
requires_ancestor { Homebrew::CLI::Parser }
|
|
|
|
sig { void }
|
|
def set_default_options
|
|
return if args.only_formula_or_cask == :cask
|
|
|
|
args.set_arg(:formula?, true)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
Homebrew::CLI::Parser.prepend(OS::Linux::CLI::Parser)
|