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/help.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bpkg/help.cxx') diff --git a/bpkg/help.cxx b/bpkg/help.cxx index 66b68aa..f03ad21 100644 --- a/bpkg/help.cxx +++ b/bpkg/help.cxx @@ -51,7 +51,7 @@ namespace bpkg o << ""<< endl; } - void + int help (const help_options&, const string& t, void (*usage) (std::ostream&)) { ostream& o (cout); @@ -77,5 +77,7 @@ namespace bpkg else fail << "unknown bpkg command/help topic '" << t << "'" << info << "run 'bpkg help' for more information"; + + return 0; } } -- cgit v1.1