diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-05-03 12:26:33 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-05-05 16:42:12 +0200 |
commit | 77bbae6038d20576a4807ed8ca834685a1e85afa (patch) | |
tree | 1d079baf6d2aa379bd2a04efb5617302309bb671 /odb/pgsql/details/options.cli | |
parent | 00eab4e6eca4227b1ecd2c6f502eedad41c3af96 (diff) |
Add pgsql database implementation
Diffstat (limited to 'odb/pgsql/details/options.cli')
-rw-r--r-- | odb/pgsql/details/options.cli | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/odb/pgsql/details/options.cli b/odb/pgsql/details/options.cli index 925cef3..ef81993 100644 --- a/odb/pgsql/details/options.cli +++ b/odb/pgsql/details/options.cli @@ -13,7 +13,7 @@ namespace odb { class options { - std::string --user + std::string --user | --username { "<name>", "PostgreSQL database user." @@ -22,10 +22,10 @@ namespace odb std::string --password { "<str>", - "PostgreSQL database password" + "PostgreSQL database password." }; - std::string --dbname + std::string --database | --dbname { "<name>", "PostgreSQL database name." @@ -33,21 +33,24 @@ namespace odb std::string --host { - "<addr>", - "Name of the PostgreSQL host to connect to (localhost by default)." + "<str>", + "PostgreSQL database host name or address (localhost by default)." }; - std::string --hostaddr + std::string --port { - "<addr>", - "Numeric IP address of host to connect to in dotted-decimal format." + "<str>", + "PostgreSQL database port number or socket file name extension for + Unix-domain connections." }; - unsigned int --port = 0 - { - "<integer>", - "PostgreSQL database port number." - }; + std::string --options-file + { + "<file>" + "Read additional options from <file>. Each option appearing on a + separate line optionally followed by space and an option value. + Empty lines and lines starting with \cb{#} are ignored." + }; }; } } |