From: David Rodriguez on

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 =*optconfig)

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


David Rodriguez
Posted via