# File lib/rhc/commands/base.rb, line 166 def self.argument(name, description, switches, options={}) arg_type = options[:arg_type] raise ArgumentError("Only the last argument descriptor for an action can be a list") if arg_type == :list and list_argument_defined? list_argument_defined true if arg_type == :list args_metadata << {:name => name, :description => description, :switches => switches, :arg_type => arg_type} end