From 3ae111140facdba8ae82adcd1085e4adfc7d715c Mon Sep 17 00:00:00 2001 From: Houssem Zitoun Date: Fri, 21 Jan 2022 17:39:57 +0100 Subject: [PATCH] Improve documentation (#10477) Co-authored-by: Houssem ZITOUN --- doc/03-cli.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/03-cli.md b/doc/03-cli.md index 1d262dfd7..e5089f45f 100644 --- a/doc/03-cli.md +++ b/doc/03-cli.md @@ -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