# File lib/rubygems/commands/contents_command.rb, line 6 def initialize super( 'contents', 'Display the contents of the installed gems', { :list => true, :specdirs => [] }) add_version_option('contents') add_option("-l","--list",'List the files inside a Gem') do |v,o| o[:list] = true end add_option('-s','--spec-dir a,b,c', Array, "Search for gems under specific paths") do |v,o| o[:specdirs] = v end add_option('-V','--verbose','Be verbose when showing status') do |v,o| o[:verbose] = v end end