aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-update.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-update.hxx')
-rw-r--r--bpkg/pkg-update.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/bpkg/pkg-update.hxx b/bpkg/pkg-update.hxx
index d7b9536..cac7651 100644
--- a/bpkg/pkg-update.hxx
+++ b/bpkg/pkg-update.hxx
@@ -5,7 +5,6 @@
#define BPKG_PKG_UPDATE_HXX
#include <bpkg/types.hxx>
-#include <bpkg/forward.hxx> // selected_package
#include <bpkg/utility.hxx>
#include <bpkg/pkg-command.hxx>
@@ -24,17 +23,17 @@ namespace bpkg
o.all (),
o.all_pattern (),
false /* package_cwd */,
+ true /* allow_host_type */,
args);
}
inline void
- pkg_update (const dir_path& configuration,
- const common_options& o,
+ pkg_update (const common_options& o,
const string& cmd_variant,
const strings& common_vars,
const vector<pkg_command_vars>& pkgs)
{
- pkg_command ("update", configuration, o, cmd_variant, common_vars, pkgs);
+ pkg_command ("update", o, cmd_variant, common_vars, pkgs);
}
}