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-disfigure.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bpkg/pkg-disfigure.cxx') diff --git a/bpkg/pkg-disfigure.cxx b/bpkg/pkg-disfigure.cxx index d9e5552..465213b 100644 --- a/bpkg/pkg-disfigure.cxx +++ b/bpkg/pkg-disfigure.cxx @@ -127,7 +127,7 @@ namespace bpkg t.commit (); } - void + int pkg_disfigure (const pkg_disfigure_options& o, cli::scanner& args) { tracer trace ("pkg_disfigure"); @@ -159,5 +159,7 @@ namespace bpkg if (verb) text << "disfigured " << p->name << " " << p->version; + + return 0; } } -- cgit v1.1