Merge the options from a partial list and the default list
setOpts(opts, defaultOpt)
a partial list of options
a list with default values for every element
a list combined from opts
and defaultOpt
where every available element
in opts
overrides the default. For the rest of the elements the value from defaultOpt
is taken.
A warning is issued for every element appearing in opts
but not in defaultOpt