options: s/yiel/yield/ typo

Making the option unusable with Invalid kwargs for option use_orc: "yield"
pull/2950/head
Thibault Saunier 7 years ago committed by TingPing
parent 657836b555
commit 62165aef43
  1. 2
      mesonbuild/optinterpreter.py

@ -78,7 +78,7 @@ def BooleanParser(name, description, kwargs):
kwargs.get('value', True),
kwargs.get('yield', coredata.default_yielding))
@permitted_kwargs({'value', 'yiel', 'choices'})
@permitted_kwargs({'value', 'yield', 'choices'})
def ComboParser(name, description, kwargs):
if 'choices' not in kwargs:
raise OptionException('Combo option missing "choices" keyword.')

Loading…
Cancel
Save