diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-22 11:07:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-22 11:07:03 +0200 |
commit | e6f10cabb7fbdba6fd11bcd109dbe765285c762c (patch) | |
tree | 350e0bf1230e930d2c9512eab396a80ffc98b610 /bpkg/pkg-purge.cxx | |
parent | 56af938cd423c1b6730d753ba1ce7b70cd660c29 (diff) |
Implement dependents check in drop command
Also, add support for commands to return program status.
Diffstat (limited to 'bpkg/pkg-purge.cxx')
-rw-r--r-- | bpkg/pkg-purge.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bpkg/pkg-purge.cxx b/bpkg/pkg-purge.cxx index 47ff05f..b90136a 100644 --- a/bpkg/pkg-purge.cxx +++ b/bpkg/pkg-purge.cxx @@ -66,7 +66,7 @@ namespace bpkg } } - void + int pkg_purge (const pkg_purge_options& o, cli::scanner& args) { tracer trace ("pkg_purge"); @@ -182,5 +182,7 @@ namespace bpkg if (verb) text << (o.keep () ? "keeping archive " : "purged ") << p->name << " " << p->version; + + return 0; } } |