From 60fe5f8f374d9c680d0458394ac795830eb7e342 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 10 Mar 2021 11:58:44 +0200 Subject: Change bdep-sync form 2 to upgrade all initialized package dependencies if not specified explicitly --- bdep/sync.cli | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bdep/sync.cli') diff --git a/bdep/sync.cli b/bdep/sync.cli index 503b930..8f806b6 100644 --- a/bdep/sync.cli +++ b/bdep/sync.cli @@ -51,7 +51,9 @@ namespace bdep upgrades or patches immediate (by default or if \c{\b{--immediate}|\b{-i}} is specified) or all (if \c{\b{--recursive}|\b{-r}} is specified) dependencies of the specified - project packages. + project packages. If no project packages are specified explicitly, then + this form upgrades or patches dependencies of all the initialized + packages in a project. The third form (one or more arguments are specified), in addition to the first form's functionality, also upgrades (by default or @@ -127,7 +129,7 @@ namespace bdep Upgrade \cb{libx} and its immediate dependencies to the latest version: \ - prj/$ bdep sync -i libx + prj/$ bdep sync -u -i libx \ Upgrade \cb{libx} to the latest patch version: -- cgit v1.1