// file : bpkg/pkg-update.hxx -*- C++ -*- // copyright : Copyright (c) 2014-2019 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file #ifndef BPKG_PKG_UPDATE_HXX #define BPKG_PKG_UPDATE_HXX #include #include // selected_package #include #include #include namespace bpkg { inline int pkg_update (const pkg_update_options& o, cli::group_scanner& args) { return pkg_command ("update", o, o.for_ (), false /* recursive */, false /* immediate */, o.all (), args); } inline void pkg_update (const dir_path& configuration, const common_options& o, const string& cmd_variant, const strings& common_vars, const vector& pkgs) { pkg_command ("update", configuration, o, cmd_variant, common_vars, pkgs); } } #endif // BPKG_PKG_UPDATE_HXX