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/rep-info.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bpkg/rep-info.cxx') diff --git a/bpkg/rep-info.cxx b/bpkg/rep-info.cxx index 8bb3c7d..041d804 100644 --- a/bpkg/rep-info.cxx +++ b/bpkg/rep-info.cxx @@ -21,7 +21,7 @@ using namespace butl; namespace bpkg { - void + int rep_info (const rep_info_options& o, cli::scanner& args) { tracer trace ("rep_info"); @@ -108,5 +108,7 @@ namespace bpkg { fail << "unable to write to STDOUT"; } + + return 0; } } -- cgit v1.1