Update docs about operators
parent
4fcc114f97
commit
f1320bf7a1
|
@ -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.
|
||||
|
||||
* **Range:** By using comparison operators you can specify ranges of valid
|
||||
versions. Valid operators are `>`, `>=`, `<`, `<=`. An example range would be
|
||||
`>=1.0`. You can define multiple ranges, separated by a comma: `>=1.0,<2.0`.
|
||||
versions. Valid operators are `>`, `>=`, `<`, `<=`, `!=`. An example range
|
||||
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
|
||||
equivalent of `>=1.0,<1.1-dev`.
|
||||
|
|
Loading…
Reference in New Issue