From: Robert Klemme Date: 2005-12-28T22:37:54+09:00 Subject: Re: Command-line option parsing Eric J. Roode wrote: > Greetings, > > I'm new to ruby (from Perl). I notice there are several > command-line options parsing modules. The two that stuck out were > GetoptLong and OptionsParser. GetoptLong suffers from being "the > same old Getopt". OptionsParser claims to be "more advanced and more > ruby-like", but has extremely poor documentation. > > Are these the best two modules out there? Is there an emerging > "standard" module? (In Perl, Getopt::Long is by far the most > commonly-used module). I used to use GetopLong in the beginning but switched to OptionParser. Agreee, the documentation could be better but if you look carefully at the example given in RDoc you get pretty much everything you need. I'm not sure about a standard parser but my impression was that OptionParser is more widely used. But I may be wrong here. Kind regards robert