aboutsummaryrefslogtreecommitdiff
path: root/loader/options.cli
blob: 7045a221b011124c8283dc52c8bbcc5fba31e50a (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      : loader/options.cli
// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

include <brep/types>;

namespace brep
{
  class options
  {
    bool --help {"Print usage information and exit."};
    bool --version {"Print version and exit."};

    string --db-host = "localhost"
    {
      "<host>",
      "Connect database server using specified host or socket directory."
    };

    uint16_t --db-port = 5432
    {
      "<port>",
      "Connect database server using specified port."
    };
  };
}