From: Paul van Delst Date: 2007-01-11T04:45:05+09:00 Subject: Re: Command Line Argument Processing Joel VanderWerf wrote: > robertlaferla@comcast.net wrote: >> What is everyone using (other than manually) to process command line >> arguments? I have looked at optparse (OptionParser) but it is not >> well documented. Is there something better? Or is there better >> documentation for optparse out there? > > OptionParser is very good, and generates reasonably nice on-line help. > > You might want to look at http://rubyforge.org/projects/optionparser/ as > well (I haven't used it, but some people seem to like it). > > If you want to use something very simple that you can paste into a > script and hack up as you see fit, there is argos: > > http://redshift.sourceforge.net/argos.rb Does anyone use getoptlong? Seems powerful and simple ATST. http://www.ruby-doc.org/stdlib/libdoc/getoptlong/rdoc/classes/GetoptLong.html cheers, paulv -- Paul van Delst Ride lots. CIMSS @ NOAA/NCEP/EMC Eddy Merckx