diff options
Diffstat (limited to 'bpkg/pkg-update.hxx')
-rw-r--r-- | bpkg/pkg-update.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bpkg/pkg-update.hxx b/bpkg/pkg-update.hxx index 5f62bd9..94d4dad 100644 --- a/bpkg/pkg-update.hxx +++ b/bpkg/pkg-update.hxx @@ -17,16 +17,17 @@ namespace bpkg inline int pkg_update (const pkg_update_options& o, cli::scanner& args) { - return pkg_command ("update", o, args); + return pkg_command ("update", o, o.for_ (), args); } inline void pkg_update (const dir_path& configuration, const common_options& o, + const string& cmd_variant, const strings& common_vars, const vector<pkg_command_vars>& pkgs) { - pkg_command ("update", configuration, o, common_vars, pkgs); + pkg_command ("update", configuration, o, cmd_variant, common_vars, pkgs); } } |