>> >One suggestion: make it possible to apply to an arbitrary array, rather 
>> >than just ARGV (or is this already possible?).

Okay, I added the option to parse() and new() to use:

   [ '-ARGV', array ]

just like -CONFIG and so.
With that, the parameter parsing will be taken from array instead of ARGV.
See samples/cmdline_noargv.rb for a full example.

Thanks for bringing up the issue.