class Bundler::Thor
def print_at_least_one_required_options(shell, command = nil) # :nodoc:
def print_at_least_one_required_options(shell, command = nil) # :nodoc: opts = [] opts = command.method_at_least_one_option_names unless command.nil? opts += class_at_least_one_option_names unless opts.empty? shell.say "Required At Least One:" shell.print_table(opts.map{ |ex| ex.map{ |e| "--#{e}"}}, indent: 2 ) shell.say end end