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/cfg-create.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bpkg/cfg-create.cxx') diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx index bbb624c..c98dd28 100644 --- a/bpkg/cfg-create.cxx +++ b/bpkg/cfg-create.cxx @@ -18,7 +18,7 @@ using namespace butl; namespace bpkg { - void + int cfg_create (const cfg_create_options& o, cli::scanner& args) { tracer trace ("cfg_create"); @@ -130,5 +130,7 @@ namespace bpkg c.complete ().normalize (); text << "created new configuration in " << c; } + + return 0; } } -- cgit v1.1