On Thu, 15 Dec 2005, Steve Litt wrote:

> I came across OptionParser. I tried reading the documentation, but I 
> saw no simple proof of concept to get me started. I therefore opted 
> for GetoptLong. At least it's not a total stranger, I've used it in 
> C and Perl.
> 
> Perhaps I just came across the wrong documentation.
> 
> I'd like to have the OptionParser documentation contain a proof of 
> concept, and a couple more examples that follow logically, without 
> skipping steps.

http://www.ruby-doc.org/stdlib/libdoc/optparse/rdoc/classes/OptionParser.html

is good, although I don't like the use of ostruct. For a cleaner, yet 
extensive, construction see http://www.servalys.nl/scripts/mk with its 
rdoc at http://www.servalys.nl/scripts/doc/files/mk.html

-- 
Wybo