// file : loader/options.cli // copyright : Copyright (c) 2014-2015 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file include ; namespace brep { class options { bool --help {"Print usage information and exit."} bool --version {"Print version and exit."} string --db-user|-u { "", "Database user name. If not specified, then operating system (login) name is used." } string --db-password { "", "Database password. If not specified, then login without password is expected to work." } string --db-name|-n = "brep" { "", "Database name. If not specified, then '\cb{brep}' is used by default." } string --db-host|-h { "", "Database host name, address, or socket. If not specified, then connect to \cb{localhost} using the operating system-default mechanism (Unix-domain socket, etc)." } uint16_t --db-port|-p = 0 { "", "Database port number. If not specified, the default port is used." } }; }