aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-update
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-update')
-rw-r--r--bpkg/pkg-update8
1 files changed, 6 insertions, 2 deletions
diff --git a/bpkg/pkg-update b/bpkg/pkg-update
index 0ff4b0d..4c89e66 100644
--- a/bpkg/pkg-update
+++ b/bpkg/pkg-update
@@ -6,12 +6,16 @@
#define BPKG_PKG_UPDATE
#include <bpkg/types>
+#include <bpkg/pkg-command>
#include <bpkg/pkg-update-options>
namespace bpkg
{
- void
- pkg_update (const pkg_update_options&, cli::scanner& args);
+ inline void
+ pkg_update (const pkg_update_options& o, cli::scanner& args)
+ {
+ pkg_command ("update", o, args);
+ }
}
#endif // BPKG_PKG_UPDATE