aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/details/options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-16 10:59:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-16 10:59:14 +0200
commit7e704a7e6e57cf877614fd762d4667ef32be2eea (patch)
tree167f6059a5a935585499fc006886abc69a4df6c8 /odb/mssql/details/options.cli
parent9cce004234838754b8bd7776b4ed37686c9a17c2 (diff)
Add build infrastructure, options file and exceptions implementation
Diffstat (limited to 'odb/mssql/details/options.cli')
-rw-r--r--odb/mssql/details/options.cli57
1 files changed, 57 insertions, 0 deletions
diff --git a/odb/mssql/details/options.cli b/odb/mssql/details/options.cli
new file mode 100644
index 0000000..693f644
--- /dev/null
+++ b/odb/mssql/details/options.cli
@@ -0,0 +1,57 @@
+// file : odb/mssql/details/options.cli
+// author : Constantin Michael <constantin@codesynthesis.com>
+// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+include <string>;
+
+namespace odb
+{
+ namespace mssql
+ {
+ namespace details
+ {
+ class options
+ {
+ std::string --user | --username
+ {
+ "<name>",
+ "PostgreSQL database user."
+ };
+
+ std::string --password
+ {
+ "<str>",
+ "PostgreSQL database password."
+ };
+
+ std::string --database | --dbname
+ {
+ "<name>",
+ "PostgreSQL database name."
+ };
+
+ std::string --host
+ {
+ "<str>",
+ "PostgreSQL database host name or address (localhost by default)."
+ };
+
+ std::string --port
+ {
+ "<str>",
+ "PostgreSQL database port number or socket file name extension for
+ Unix-domain connections."
+ };
+
+ 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."
+ };
+ };
+ }
+ }
+}