diff options
author | Jan Ekström <jeebjp@gmail.com> | 2021-09-19 21:53:57 +0300 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-09-20 00:43:12 +0200 |
commit | 7b9e024f3713591db317b11b898eb6f132353736 (patch) | |
tree | 498f04a21fc84ee9e64461a5fcd68e66948fcf34 /waftools/features.py | |
parent | 560e6c8709811038dfcd3ff8b789670a18649d17 (diff) | |
download | mpv-7b9e024f3713591db317b11b898eb6f132353736.tar.bz2 mpv-7b9e024f3713591db317b11b898eb6f132353736.tar.xz |
waftools/features: add forgotten enable variants for enabled features
This brings enabled features on the same level as disabled and
auto-detected features by having both alternatives available.
Looking at the commit message of 652895abdce4bc1ff2f00c7f21c0d0d722680806
this seems to have been the intent from the start, but this specific
definition was missing from the option creation in Features.
Diffstat (limited to 'waftools/features.py')
-rw-r--r-- | waftools/features.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/waftools/features.py b/waftools/features.py index 74c2483a48..abd29fc1fa 100644 --- a/waftools/features.py +++ b/waftools/features.py @@ -29,6 +29,7 @@ class Feature(object): ], 'enable': [ {'state': 'disable', 'action': 'store_false', 'default': True}, + {'state': 'enable', 'action': 'store_true', 'default': True}, ], }[self.behaviour()] |