UserFeatureOption: Default to 'auto' when no value specified
Closes #3938.
This commit is contained in:
parent
efba193872
commit
5f9fda4acc
|
@ -121,7 +121,7 @@ def string_array_parser(name, description, kwargs):
|
|||
def FeatureParser(name, description, kwargs):
|
||||
return coredata.UserFeatureOption(name,
|
||||
description,
|
||||
kwargs.get('value', 'enabled'),
|
||||
kwargs.get('value', 'auto'),
|
||||
yielding=kwargs.get('yield', coredata.default_yielding))
|
||||
|
||||
option_types = {'string': StringParser,
|
||||
|
|
Loading…
Reference in New Issue