aboutsummaryrefslogtreecommitdiff
path: root/bdep/help.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-07 15:22:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-07 15:22:51 +0200
commit1c36adab776a900adc7325f412b1c8dd61b1a346 (patch)
tree0227b8c5697d24a862aedd59b9bfe28cc84e91b4 /bdep/help.hxx
parent2e2c3a81b47c650334f5767ddb4ebb2746ef98f1 (diff)
Setup compilation, command line handling
Diffstat (limited to 'bdep/help.hxx')
-rw-r--r--bdep/help.hxx21
1 files changed, 21 insertions, 0 deletions
diff --git a/bdep/help.hxx b/bdep/help.hxx
new file mode 100644
index 0000000..224151a
--- /dev/null
+++ b/bdep/help.hxx
@@ -0,0 +1,21 @@
+// file : bdep/help.hxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef BDEP_HELP_HXX
+#define BDEP_HELP_HXX
+
+#include <bdep/types.hxx>
+#include <bdep/utility.hxx>
+
+#include <bdep/help-options.hxx>
+
+namespace bdep
+{
+ using usage_function = cli::usage_para (ostream&, cli::usage_para);
+
+ int
+ help (const help_options&, const string& topic, usage_function* usage);
+}
+
+#endif // BDEP_HELP_HXX