aboutsummaryrefslogtreecommitdiff
path: root/bdep/help.hxx
blob: 3ddb5ed73a64b2c62ebdce9dd75b99ead98ece15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// file      : bdep/help.hxx -*- C++ -*-
// 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);

  default_options_files
  options_files (const char* cmd, const help_options&, const strings& args);

  help_options
  merge_options (const default_options<help_options>&, const help_options&);
}

#endif // BDEP_HELP_HXX