diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-16 07:16:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-16 07:16:06 +0200 |
commit | 236ad71b105365bedf9d28a5606616fb9aed3168 (patch) | |
tree | 3e9c4943c6ea854ed1c931033f7f62916585cd81 /bpkg/bpkg.cxx | |
parent | fbe0716682ad4fd64df670978785db372cbe2ed2 (diff) |
Implement pkg-unpack command
Diffstat (limited to 'bpkg/bpkg.cxx')
-rw-r--r-- | bpkg/bpkg.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx index d1ee945..18d68c9 100644 --- a/bpkg/bpkg.cxx +++ b/bpkg/bpkg.cxx @@ -16,6 +16,7 @@ #include <bpkg/help> #include <bpkg/pkg-verify> #include <bpkg/pkg-fetch> +#include <bpkg/pkg-unpack> #include <bpkg/cfg-create> #include <bpkg/rep-create> @@ -161,6 +162,18 @@ try return 0; } + // pkg-unpack + // + if (cmd.pkg_unpack ()) + { + if (h) + help (ho, "pkg-unpack", pkg_unpack_options::print_usage); + else + pkg_unpack (parse<pkg_unpack_options> (co, args), args); + + return 0; + } + // cfg-create // if (cmd.cfg_create ()) |