aboutsummaryrefslogtreecommitdiff
path: root/bpkg/help
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-02 17:09:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-02 17:09:57 +0200
commit94c3574492b6db6ae8d5fbef717f8e6f92f1d402 (patch)
treed5cee1ec9d601fbf9da02f82b9ca8431880aea0b /bpkg/help
parent317cf86dedbd72aacc673c6257cc178e76ee77e3 (diff)
Command line options/commands/help infrastructure
Diffstat (limited to 'bpkg/help')
-rw-r--r--bpkg/help22
1 files changed, 22 insertions, 0 deletions
diff --git a/bpkg/help b/bpkg/help
new file mode 100644
index 0000000..69e8f69
--- /dev/null
+++ b/bpkg/help
@@ -0,0 +1,22 @@
+// file : bpkg/help -*- C++ -*-
+// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef BPKG_HELP
+#define BPKG_HELP
+
+#include <iosfwd>
+
+#include <bpkg/types>
+
+namespace bpkg
+{
+ class help_options;
+
+ int
+ help (const help_options&,
+ const string& topic,
+ void (*usage) (std::ostream&));
+}
+
+#endif // BPKG_HELP