aboutsummaryrefslogtreecommitdiff
path: root/loader/options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-18 07:35:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-23 17:47:47 +0200
commit1dc38cf49b6c7a8b661a9cc675ded94c8ab33c36 (patch)
tree5a216148adb9d842a5a15c032a671182faa9ba06 /loader/options.cli
parentfe6182a8c89675f92e72c881d707e21cdf56f376 (diff)
Implement brep-migrate utility
Diffstat (limited to 'loader/options.cli')
-rw-r--r--loader/options.cli46
1 files changed, 0 insertions, 46 deletions
diff --git a/loader/options.cli b/loader/options.cli
deleted file mode 100644
index 0899156..0000000
--- a/loader/options.cli
+++ /dev/null
@@ -1,46 +0,0 @@
-// file : loader/options.cli
-// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
-// license : MIT; see accompanying LICENSE file
-
-include <string>;
-include <cstdint>; // uint16_t
-
-class options
-{
- bool --help {"Print usage information and exit."}
- bool --version {"Print version and exit."}
-
- std::string --db-user|-u
- {
- "<user>",
- "Database user name. If not specified, then operating system (login)
- name is used."
- }
-
- std::string --db-password
- {
- "<pass>",
- "Database password. If not specified, then login without password is
- expected to work."
- }
-
- std::string --db-name|-n = "brep"
- {
- "<name>",
- "Database name. If not specified, then '\cb{brep}' is used by default."
- }
-
- std::string --db-host|-h
- {
- "<host>",
- "Database host name, address, or socket. If not specified, then connect
- to \cb{localhost} using the operating system-default mechanism
- (Unix-domain socket, etc)."
- }
-
- std::uint16_t --db-port|-p = 0
- {
- "<port>",
- "Database port number. If not specified, the default port is used."
- }
-};