From: Daniel Berger Date: 2005-06-05T02:35:24+09:00 Subject: Re: ruby-dev summary 26128-26222 (Re: ropt/optparse) Aredridel wrote: > > Masahiro Tomita claimed that ruby should not warn when loading > > getopts, with $VERBOSE=false. Matz agreed with him. In addition, > > WATANABE Hirofumi said that optparse.rb is too diffucult to use, > > he recommended to bandle ropt instead. For details of ropt, refer > > RAA: > > > > http://raa.ruby-lang.org/project/ropt/ > > My first thought is that the optparse API is much nicer -- it could be > simplified slightly without losing anything, but ropt looks more > difficult, even if it is more succinct. > > Ari I concur. Folks would do well to take a look at Perl's Getopt::Std and Getopt::Long (or elsewhere) to see how they do things instead of reinventing a very old wheel. And no, Ruby's GetoptLong is not where it should be. Regards, Dan