From e6f10cabb7fbdba6fd11bcd109dbe765285c762c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 22 Oct 2015 11:07:03 +0200 Subject: Implement dependents check in drop command Also, add support for commands to return program status. --- bpkg/pkg-clean | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpkg/pkg-clean') 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); } } -- cgit v1.1