diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-18 07:50:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-18 07:50:38 +0200 |
commit | 9accdefc33940d713828195313ca1a0eb0de030f (patch) | |
tree | 22f1e84a97d3ba353788d5ec30c20ea4c6d43670 /bpkg/pkg-update | |
parent | cae11509203061e894e6310c35ea50ae818af3a7 (diff) |
Generalize pkg_update() to pkg_command() to be used for clean, test, etc
Diffstat (limited to 'bpkg/pkg-update')
-rw-r--r-- | bpkg/pkg-update | 8 |
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 |