aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-update
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-10-10 17:48:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-10-10 17:48:03 +0200
commitddf8c2b62fa09eb765afc0c093d0d8908f7b69e4 (patch)
tree5956e674e0cb368061a9a9eb6d8bf742f96ffa75 /bpkg/pkg-update
parentec931aa6550b47461e92062a703e6ef9f4c24b17 (diff)
Complete build command
Diffstat (limited to 'bpkg/pkg-update')
-rw-r--r--bpkg/pkg-update8
1 files changed, 8 insertions, 0 deletions
diff --git a/bpkg/pkg-update b/bpkg/pkg-update
index 4c89e66..b34e44a 100644
--- a/bpkg/pkg-update
+++ b/bpkg/pkg-update
@@ -6,6 +6,7 @@
#define BPKG_PKG_UPDATE
#include <bpkg/types>
+#include <bpkg/forward> // selected_package
#include <bpkg/pkg-command>
#include <bpkg/pkg-update-options>
@@ -16,6 +17,13 @@ namespace bpkg
{
pkg_command ("update", o, args);
}
+
+ inline void
+ pkg_update (const dir_path& configuration,
+ const shared_ptr<selected_package>& p)
+ {
+ pkg_command ("update", configuration, p);
+ }
}
#endif // BPKG_PKG_UPDATE