From: David Rodriguez on
Hi

I wanted to understand how I can get the error of GetoptLong::Ambigous
option. Actually I am having that error but I do not understand why?

I do:

require 'getoptlong'
optconfig = [
[ '--help', GetoptLong::NO_ARGUMENT ],
[ '--usage', GetoptLong::NO_ARGUMENT ],


opts = GetoptLong.new(*optconfig)

and many other options and each one is different. So that is why I would
like how it works.

Thanks

David Rodriguez
--
Posted via http://www.ruby-forum.com/.