diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index 5c27ad1454..aa9bea684e 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -211,6 +211,10 @@ class Tab < OpenStruct end end + def any_args_or_options? + !used_options.empty? || !unused_options.empty? + end + def with?(val) option_names = val.respond_to?(:option_names) ? val.option_names : [val]