diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cli/args.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cli/args.rbi index a0c1be814f..94ce0beb94 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cli/args.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cli/args.rbi @@ -209,6 +209,9 @@ class Homebrew::CLI::Args sig { returns(T.nilable(T::Array[String])) } def extra_packages; end + sig { returns(T::Boolean) } + def extract_plist?; end + sig { returns(T::Boolean) } def f?; end diff --git a/Library/Homebrew/test/abstract_command_spec.rb b/Library/Homebrew/test/abstract_command_spec.rb index 0b3b5e05a4..70bfd6656d 100644 --- a/Library/Homebrew/test/abstract_command_spec.rb +++ b/Library/Homebrew/test/abstract_command_spec.rb @@ -7,6 +7,7 @@ RSpec.describe Homebrew::AbstractCommand do before do cat = Class.new(described_class) do cmd_args do + description "test" switch "--foo" flag "--bar=" end