aboutsummaryrefslogtreecommitdiff
path: root/bpkg/help.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/help.cxx')
-rw-r--r--bpkg/help.cxx4
1 files changed, 3 insertions, 1 deletions
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;
}
}