From: nobu.nokada@... Date: 2003-12-01T16:28:48+09:00 Subject: Re: Usage message in optparse.. summarize method? Hi, At Mon, 1 Dec 2003 12:07:34 +0900, Nathaniel Talbott wrote: > ARGV.options do |options| > options.on('-d', '--date=DATE', String, 'specify a date'){|v| puts "Date #{v} passed"} If you really want to accept only dates, you can use Date instead of String here, with requiring 'optparse/date'. -- Nobu Nakada