aboutsummaryrefslogtreecommitdiff
path: root/bpkg/help
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-25 09:19:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-25 09:19:19 +0200
commit87e476cf192b70c133a1bf00efa8586348326092 (patch)
tree88d70237857ceec7416c8edd7a3d8cf2d8093fb5 /bpkg/help
parentb244bc6ef9d36d651c40de818ef33246919fc859 (diff)
New command line help setup
Diffstat (limited to 'bpkg/help')
-rw-r--r--bpkg/help6
1 files changed, 3 insertions, 3 deletions
diff --git a/bpkg/help b/bpkg/help
index 8bd5596..e941d40 100644
--- a/bpkg/help
+++ b/bpkg/help
@@ -12,10 +12,10 @@
namespace bpkg
{
+ using usage_function = cli::usage_para (std::ostream&, cli::usage_para);
+
int
- help (const help_options&,
- const string& topic,
- void (*usage) (std::ostream&));
+ help (const help_options&, const string& topic, usage_function* usage);
}
#endif // BPKG_HELP