From ef9615aebb8a7b504c3b5cd2610e3c8f5bb4de58 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 15 Dec 2015 13:38:57 +0200 Subject: Various cleanups and improvements, INSTALL-DEV instructions --- loader/options.cli | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) (limited to 'loader/options.cli') diff --git a/loader/options.cli b/loader/options.cli index 7045a22..e46a548 100644 --- a/loader/options.cli +++ b/loader/options.cli @@ -8,19 +8,41 @@ namespace brep { class options { - bool --help {"Print usage information and exit."}; - bool --version {"Print version and exit."}; + bool --help {"Print usage information and exit."} + bool --version {"Print version and exit."} - string --db-host = "localhost" + 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 { "", - "Connect database server using specified host or socket directory." - }; + "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 = 5432 + uint16_t --db-port|-p = 0 { "", - "Connect database server using specified port." - }; + "Database port number. If not specified, the default port is used." + } }; } -- cgit v1.1