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-status.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bpkg/pkg-status.cxx') diff --git a/bpkg/pkg-status.cxx b/bpkg/pkg-status.cxx index 2f0bf7f..c31e834 100644 --- a/bpkg/pkg-status.cxx +++ b/bpkg/pkg-status.cxx @@ -20,7 +20,7 @@ using namespace butl; namespace bpkg { - void + int pkg_status (const pkg_status_options& o, cli::scanner& args) { tracer trace ("pkg_status"); @@ -129,5 +129,6 @@ namespace bpkg cout << "unknown"; cout << endl; + return 0; } } -- cgit v1.1