lib/pry/commands/ls.rb: split up #raise_errors_if_arguments_are_weird