From: Zhao Yi Date: 2010-06-30T20:27:34+09:00 Subject: optparser question I am using optparser to parse arguments.How can I set a mandatory option? If user doesn't specify this option, parse() method should throw an error message. thanks, Zhao Yi -- Posted via http://www.ruby-forum.com/.