aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-build.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-02-08 12:44:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-02-08 12:44:06 +0200
commit974a8c152bf7c9a4a5ce3c45808af65657c2ff1f (patch)
treed9bbfae21920dc0c35758d803831b2b01dc28ac2 /bpkg/pkg-build.cxx
parent994b63e2b60333a83faba52dc6b044fbdbbad61b (diff)
Add --for|-f <operation> option to pkg-update and pkg-build
This allows executing build2 -for-X operations (e.g., update-for-install or update-for-test) in order to minimize the amount of stuff to be updated.
Diffstat (limited to 'bpkg/pkg-build.cxx')
-rw-r--r--bpkg/pkg-build.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx
index c555ca0..2dcacb7 100644
--- a/bpkg/pkg-build.cxx
+++ b/bpkg/pkg-build.cxx
@@ -1932,7 +1932,7 @@ namespace bpkg
}
}
- pkg_update (c, o, strings (), upkgs);
+ pkg_update (c, o, o.for_ (), strings (), upkgs);
if (verb)
{