aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script/builtin.cli
blob: c993983fa6dbcc7f63b55dbe45c61a4d71a74217 (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
// file      : libbuild2/script/builtin.cli
// license   : MIT; see accompanying LICENSE file

include <libbuild2/common.cli>;

// Note that options in this file are undocumented because we generate neither
// the usage printing code nor man pages. Instead, they are documented in the
// Testscript Language Manual's builtin descriptions.
//
namespace build2
{
  namespace script
  {
    // Pseudo-builtin options.
    //
    class set_options
    {
      bool --exact|-e;
      bool --newline|-n;
      bool --whitespace|-w;
    };

    class timeout_options
    {
      bool --success|-s;
    };

    class export_options
    {
      vector<string> --unset|-u;
      vector<string> --clear|-c;
    };

    class for_options
    {
      bool --exact|-e;
      bool --newline|-n;
      bool --whitespace|-w;
    };
  }
}