option_set
Description:
If variant is null, this clears the option if it is set.
Otherwise, variant is set as the option. If variant is a floating reference, it will be consumed.
Note that not all setting types support options. It is a bug setting a variant to a setting that doesn't support it. Currently, only SettingEthtool supports it.
Parameters:
| this |
the Setting |
| opt_name |
the option name to set |
| variant |
the variant to set. |