|
|
|
|
|
|
|
|
-- optional = true, |
|
|
-- optional = true, |
|
|
-- } |
|
|
-- } |
|
|
-- } |
|
|
-- } |
|
|
|
|
|
-- -- Then this function will look for opts.my_map parameter and try to replace it's with |
|
|
|
|
|
-- -- a map with the specific type, description but not failing if it was empty. |
|
|
|
|
|
-- -- It will also set options.my_map_orig to the original value defined in the map. |
|
|
--]] |
|
|
--]] |
|
|
exports.fill_config_maps = function(mname, opts, map_defs) |
|
|
exports.fill_config_maps = function(mname, opts, map_defs) |
|
|
assert(type(opts) == 'table') |
|
|
assert(type(opts) == 'table') |