aboutsummaryrefslogtreecommitdiff
path: root/bdep/help.hxx
blob: ffefbb9baf60deb303f5a595bd174e5b93ad1c2f (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
27
// file      : bdep/help.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2019 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);

  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