# File lib/rhc/context_helper.rb, line 15 def self.takes_team(opts={}) if opts[:argument] argument :team_name, "Name of a team", ["-t", "--team-name NAME"], :allow_nil => true, :covered_by => :team_id else #:nocov: option ["-t", "--team-name NAME"], "Name of a team", :covered_by => :team_id #:nocov: end option ["--team-id ID"], "ID of a team", :covered_by => :team_name end