aboutsummaryrefslogtreecommitdiff
path: root/bdep/update.cli
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/update.cli')
-rw-r--r--bdep/update.cli20
1 files changed, 18 insertions, 2 deletions
diff --git a/bdep/update.cli b/bdep/update.cli
index 6b7cdf3..4a66298 100644
--- a/bdep/update.cli
+++ b/bdep/update.cli
@@ -27,11 +27,17 @@ namespace bdep
\h|DESCRIPTION|
The \cb{update} command updates the project packages in one or more build
- configurations. Underneath it executes the \l{bpkg-pkg-update(1)} command
+ configurations. Additionally, immediate or all dependencies of the
+ project packages can be updated by specifying the
+ \c{\b{--immediate}|\b{-i}} or \c{\b{--recursive}|\b{-r}} options,
+ respectively.
+
+ Underneath \cb{update} executes the \l{bpkg-pkg-update(1)} command
which itself is not much more than the build system \cb{update} operation
(see \l{b(1)} for details). As a result, the main utility of this command
is the ability to refer to build configurations by names and to project
- packages implicitly via the current working directory.
+ packages implicitly via the current working directory as well as to
+ update dependencies.
If no project or package directory is specified, then the current working
directory is assumed. If no configuration is specified, then the default
@@ -44,6 +50,16 @@ namespace bdep
class cmd_update_options: project_options
{
"\h|UPDATE OPTIONS|"
+
+ bool --immediate|-i
+ {
+ "Also update immediate dependencies."
+ }
+
+ bool --recursive|-r
+ {
+ "Also update all dependencies, recursively."
+ }
};
"