From 7b9e024f3713591db317b11b898eb6f132353736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ekstr=C3=B6m?= Date: Sun, 19 Sep 2021 21:53:57 +0300 Subject: 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. --- waftools/features.py | 1 + 1 file changed, 1 insertion(+) (limited to 'waftools') 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()] -- cgit v1.2.3