1
0
Fork 0

Improve documentation (#10477)

Co-authored-by: Houssem ZITOUN <houssem.zitoun@ekino.com>
pull/10486/head
Houssem Zitoun 2022-01-21 17:39:57 +01:00 committed by GitHub
parent 7f1808501a
commit 3ae111140f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -156,17 +156,17 @@ composer.json you can use `--with` and provide a custom version constraint:
php composer.phar update --with vendor/package:2.0.1
```
The custom constraint has to be a subset of the existing constraint you have,
and this feature is only available for your root package dependencies.
If you only want to update the package(s) for which you provide custom constraints
using `--with`, you can skip `--with` and just use constraints with the partial
update syntax:
Note that with the above all packages will be updated. If you only want to
update the package(s) for which you provide custom constraints using `--with`,
you can skip `--with` and instead use constraints with the partial update syntax:
```sh
php composer.phar update vendor/package:2.0.1 vendor/package2:3.0.*
```
The custom constraint has to be a subset of the existing constraint you have,
and this feature is only available for your root package dependencies.
### Options