blob: 9e96585303f8390daf7da5a9084623875acdf3ea (
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
|
// file : loader/options.cli
// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
include <string>;
include <cstdint>;
class options
{
bool --help {"Print usage information and exit."};
bool --version {"Print version and exit."};
std::string --db-host = "localhost"
{
"<host>",
"Connect database server using specified host or socket directory."
};
std::uint16_t --db-port = 5432
{
"<port>",
"Connect database server using specified port."
};
};
|