UserFeatureOption: Default to 'auto' when no value specified

Closes #3938.
This commit is contained in:
Xavier Claessens 2018-07-25 09:54:48 -04:00
parent efba193872
commit 5f9fda4acc
1 changed files with 1 additions and 1 deletions

View File

@ -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,