Forum: Ruby Re: getoptlong, getopt, parseopt, which one to use for comma

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Berger, Daniel (Guest)
on 2006-02-17 20:41
(Received via mailing list)
> > 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


Charlie Bowman (Guest)
on 2006-02-17 21:08
(Received via mailing list)
I'm not sure what you mean.  I know what getopt is but what do you mean
by use commandline?
Mark Volkmann (Guest)
on 2006-02-17 21:11
(Received via mailing list)
commandline is in RubyForge.  See
This topic is locked and can not be replied to.