aboutsummaryrefslogtreecommitdiff
path: root/bpkg/help.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-06-20 13:19:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-06-20 13:19:54 +0200
commit1b76b443a64b94a4901188587c128fdc461baf48 (patch)
tree4665dad8eeee423b847ad6e3e6bc24d587d6a688 /bpkg/help.cxx
parenta7328a438ed26dc0d74238a575c118ca82892b5e (diff)
Add stub for repository-signing help topic
Diffstat (limited to 'bpkg/help.cxx')
-rw-r--r--bpkg/help.cxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/bpkg/help.cxx b/bpkg/help.cxx
index 8713426..cf496ca 100644
--- a/bpkg/help.cxx
+++ b/bpkg/help.cxx
@@ -9,6 +9,10 @@
#include <bpkg/diagnostics>
#include <bpkg/bpkg-options>
+// Help topics.
+//
+#include <bpkg/repository-signing>
+
using namespace std;
using namespace butl;
@@ -21,8 +25,13 @@ namespace bpkg
{
if (t.empty ()) // General help.
usage = &print_bpkg_usage;
- else if (t == "common-options") // Help topics.
+ //
+ // Help topics.
+ //
+ else if (t == "common-options")
usage = &print_bpkg_common_options_long_usage;
+ else if (t == "repository-signing")
+ usage = &print_bpkg_repository_signing_usage;
else
fail << "unknown bpkg command/help topic '" << t << "'" <<
info << "run 'bpkg help' for more information";