aboutsummaryrefslogtreecommitdiff
path: root/bpkg/help.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-04 14:24:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-04 14:24:15 +0200
commit0e4d06919b7c075275b22edfc031f90b7f421e7a (patch)
tree2aa441c99823561ab8f0c6b2d28a2965b2099514 /bpkg/help.cxx
parent81abf8eab067eab362f180a418215f9408de41dc (diff)
Implement rep-create (create repository) command
Diffstat (limited to 'bpkg/help.cxx')
-rw-r--r--bpkg/help.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/bpkg/help.cxx b/bpkg/help.cxx
index b63adbd..e4cb963 100644
--- a/bpkg/help.cxx
+++ b/bpkg/help.cxx
@@ -11,7 +11,6 @@
#include <bpkg/diagnostics>
#include <bpkg/bpkg-options>
-#include <bpkg/help-options>
using namespace std;
@@ -50,7 +49,7 @@ namespace bpkg
"specific ones."<< endl;
}
- int
+ void
help (const help_options&, const string& t, void (*usage) (std::ostream&))
{
if (usage != nullptr) // Command.
@@ -64,7 +63,5 @@ namespace bpkg
else
fail << "unknown bpkg command/help topic '" << t << "'" <<
info << "run 'bpkg help' for more information";
-
- return 0;
}
}