aboutsummaryrefslogtreecommitdiff
path: root/bpkg/help.hxx
blob: b8096d524fe520c84a3b794e8e9c8ab3fcc700e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// file      : bpkg/help.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

#ifndef BPKG_HELP_HXX
#define BPKG_HELP_HXX

#include <bpkg/types.hxx>
#include <bpkg/utility.hxx>

#include <bpkg/help-options.hxx>

namespace bpkg
{
  using usage_function = cli::usage_para (ostream&, cli::usage_para);

  int
  help (const help_options&, const string& topic, usage_function* usage);
}

#endif // BPKG_HELP_HXX