1
0
Fork 0

Update docs about operators

pull/822/merge
Jordi Boggiano 2012-06-22 16:04:44 +02:00
parent 4fcc114f97
commit f1320bf7a1
1 changed files with 3 additions and 2 deletions

View File

@ -67,8 +67,9 @@ Version constraints can be specified in a few different ways.
example `1.0.2`. This is not used very often, but can be useful. example `1.0.2`. This is not used very often, but can be useful.
* **Range:** By using comparison operators you can specify ranges of valid * **Range:** By using comparison operators you can specify ranges of valid
versions. Valid operators are `>`, `>=`, `<`, `<=`. An example range would be versions. Valid operators are `>`, `>=`, `<`, `<=`, `!=`. An example range
`>=1.0`. You can define multiple ranges, separated by a comma: `>=1.0,<2.0`. would be `>=1.0`. You can define multiple ranges, separated by a comma:
`>=1.0,<2.0`.
* **Wildcard:** You can specify a pattern with a `*` wildcard. `1.0.*` is the * **Wildcard:** You can specify a pattern with a `*` wildcard. `1.0.*` is the
equivalent of `>=1.0,<1.1-dev`. equivalent of `>=1.0,<1.1-dev`.