From: botp Date: 2010-05-12T12:58:23+09:00 Subject: Re: interested in writing a commandline option parser for ruby? On Tue, May 11, 2010 at 11:39 PM, William Morgan wrote: > > Just use Trollop. > would it be nice if you could include arguments(ARGV) and then infer the usage, so 1 it would be included in -h display 2 i wouldn't have to create a separate banner for it ? simple illustration: what if i need at least two args for the command mycopy source dest [dest2, dest3,...] then mycopy -h should show at least syntax: mycopy source dest [dest,..] options:..... i haven't lookuped the api though. overall, trollop is quite nifty/speedy. thanks and best regards -botp