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-fetch.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bpkg/rep-fetch.cxx') diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx index 7443f56..f96607f 100644 --- a/bpkg/rep-fetch.cxx +++ b/bpkg/rep-fetch.cxx @@ -175,7 +175,7 @@ namespace bpkg db.update (r); } - void + int rep_fetch (const rep_fetch_options& o, cli::scanner&) { tracer trace ("rep_fetch"); @@ -239,5 +239,7 @@ namespace bpkg if (verb) text << pcount << " package(s) in " << rcount << " repository(s)"; + + return 0; } } -- cgit v1.1