summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2019-03-11 19:55:35 +1100
committerMatthew Waters <matthew@centricular.com>2019-03-11 20:05:54 +1100
commit78123a317381a460bcfebc4d601db831c8e1ffec (patch)
tree03309d07ee220eb8045873bfb2b75b0fcc6a33ae /README.md
parentdeb5ffed79b10f7e57a648d6de030846b9b0871f (diff)
cerbero: allow passing multiple -v options
Allows easier overriding of variants where necessary. The original comma separated format for splitting variants is preserved. -v variant1,variant2 and -v variant1 -v variant2 are equivalent
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index f66b4911..386b3812 100644
--- a/README.md
+++ b/README.md
@@ -156,8 +156,20 @@ $ cerbero-uninstalled -v variantname [-c ...] package gstreamer-1.0
* Or, edit `~/.cerbero/cerbero.cbc` and add `variants = ['variantname']` at the
bottom. Create the file if it doesn't exist.
+Multiple variants can either be separated by a comma or with multiple `-v`
+arguments, for example the following are equivalent:
+
+```sh
+$ cerbero-uninstalled -v variantname1,variantname2 [-c ...] package gstreamer-1.0
+$ cerbero-uninstalled -v variantname1 -v variantname2 [-c ...] package gstreamer-1.0
+```
+
To explicitly disable a variant, use `novariantname` instead.
+In the case of multiple enabling/disable of the same variant, then the last
+condition on the command line will take effect. e.g. if novariantname is last
+then variantname is disabled.
+
## Enabling Qt5 Support
Starting with version 1.15.2, Cerbero has built-in support for building the Qt5