aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-info.cxx
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/rep-info.cxx
parent56af938cd423c1b6730d753ba1ce7b70cd660c29 (diff)
Implement dependents check in drop command
Also, add support for commands to return program status.
Diffstat (limited to 'bpkg/rep-info.cxx')
-rw-r--r--bpkg/rep-info.cxx4
1 files changed, 3 insertions, 1 deletions
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;
}
}