From: Derril Lucci Date: 2010-05-13T06:32:33+09:00 Subject: Re: Command Line Arguments problem Certainly. opts is an array of Getoptlong type and holds the options and their requirements. opts.each do |opt, arg| case opt when "--date", "-d" dateArr[0] = DateTime.parse(ARGV[1]) . . . That is more of the code in question. Hope if helps. Cheers, dlucci -- Posted via http://www.ruby-forum.com/.