Did you know ... Search Documentation:
Predicate add_option/4
 add_option(+FromOptions:list(nvpair), +Name:atom, +Value:atom, +ToOptions:list(nvpair)) is det[private]
Adds an option with the given name and value (i.e. `Name(Value)`), and ensures that old options are overwritten and that the resultant options list is sorted.