From: "Berger, Daniel" Date: 2006-02-18T04:38:22+09:00 Subject: Re: getoptlong, getopt, parseopt, which one to use for command linetool? > -----Original Message----- > From: ara.t.howard@noaa.gov [mailto:ara.t.howard@noaa.gov] > Sent: Friday, February 17, 2006 12:25 PM > To: ruby-talk ML > Subject: Re: getoptlong, getopt, parseopt, which one to use > for command linetool? > > > On Sat, 18 Feb 2006, Charlie Bowman wrote: > > > There seems to be several options out there. Which one > should be used > > when creating command line tools? > > it keeps things exciting to mix them up in unpredictable ways > - preferably in obfusicated code. > > ;-) > > seriously - use getoptlong for simple stuff and optparse if > your needs are more elaborate. Use getopt for simple stuff or commandline if your needs are more elaborate. :-D Dan