aboutsummaryrefslogtreecommitdiff
path: root/bpkg/help.cli
blob: 9dc2fbb86a88966b84ea8fd0a3f9362a33aa519d (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// file      : bpkg/help.cli
// license   : MIT; see accompanying LICENSE file

include <bpkg/common.cli>;

"\section=1"
"\name=bpkg-help"
"\summary=show help for a command or help topic"

namespace bpkg
{
  {
    "<command> <topic>",

    "\h|SYNOPSIS|

     \c{\b{bpkg help} [<command> | <topic>]}

     \h|DESCRIPTION|

     Show the detailed help for <command> or help <topic> or a summary of
     available commands and topics if none was specified."
  }

  class help_options: common_options
  {
    //"\h|HELP OPTIONS|"
  };

  "
   \h|DEFAULT OPTIONS FILES|

   See \l{bpkg-default-options-files(1)} for an overview of the default
   options files. For the \cb{help} command the following options files are
   searched for only in the predefined directories (home, system, etc) and, if
   found, loaded in the order listed:

   \
   bpkg.options
   bpkg-help.options
   \
  "
}