aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-clean
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-10-22 11:07:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-10-22 11:07:03 +0200
commite6f10cabb7fbdba6fd11bcd109dbe765285c762c (patch)
tree350e0bf1230e930d2c9512eab396a80ffc98b610 /bpkg/pkg-clean
parent56af938cd423c1b6730d753ba1ce7b70cd660c29 (diff)
Implement dependents check in drop command
Also, add support for commands to return program status.
Diffstat (limited to 'bpkg/pkg-clean')
-rw-r--r--bpkg/pkg-clean4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/pkg-clean b/bpkg/pkg-clean
index baed20a..1195cfe 100644
--- a/bpkg/pkg-clean
+++ b/bpkg/pkg-clean
@@ -11,10 +11,10 @@
namespace bpkg
{
- inline void
+ inline int
pkg_clean (const pkg_clean_options& o, cli::scanner& args)
{
- pkg_command ("clean", o, args);
+ return pkg_command ("clean", o, args);
}
}