diff options
Diffstat (limited to 'bpkg/pkg-update.hxx')
-rw-r--r-- | bpkg/pkg-update.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bpkg/pkg-update.hxx b/bpkg/pkg-update.hxx index 7eb4c37..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> @@ -19,21 +18,22 @@ namespace bpkg return pkg_command ("update", o, o.for_ (), - false /* recursive */, - false /* immediate */, + o.recursive (), + o.immediate (), 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); } } |