- opt_process(+OptionsIn, -Options) is det[private]
- Post processs the option list. This does a findall/3 on opt_rule/1
which may use opt/1 to access the option list being processed. The
opt_rule/1 returns one or more actions. Defined actions are:
- default(+Opt)
- If Opt is not defined, add Opt as default.
- add(+Opt)
- Add an option. If the option is defined, remove it.
- replace(+Opts, +Opt)
- Remove options for Opts (a list or a single option) and
add Opt.
- warning(Term)
- call
print_message(warning, Term)
and continue.
- error(Term)
- call
print_message(error, Term)
and die using halt(1)
.