summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rw-r--r--waftools/features.py1
2 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index 83ec06ede3..7bbf6361df 100644
--- a/README.md
+++ b/README.md
@@ -85,10 +85,10 @@ detect it, the file `build/config.log` may contain information about the
reasons for the failure.
NOTE: To avoid cluttering the output with unreadable spam, `--help` only shows
-one of the two switches for each option. If the option is autodetected by
-default, the `--disable-***` switch is printed; if the option is disabled by
-default, the `--enable-***` switch is printed. Either way, you can use
-`--enable-***` or `--disable-**` regardless of what is printed by `--help`.
+one of the two switches for each option. If the option is autodetected or
+enabled by default, the `--disable-***` switch is printed; if the option is
+disabled by default, the `--enable-***` switch is printed. Either way, you can
+use `--enable-***` or `--disable-**` regardless of what is printed by `--help`.
To build the software you can use `./waf build`: the result of the compilation
will be located in `build/mpv`. You can use `./waf install` to install mpv
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()]