aboutsummaryrefslogtreecommitdiff
path: root/loader/options.cli
diff options
context:
space:
mode:
Diffstat (limited to 'loader/options.cli')
-rw-r--r--loader/options.cli32
1 files changed, 17 insertions, 15 deletions
diff --git a/loader/options.cli b/loader/options.cli
index 9e96585..7045a22 100644
--- a/loader/options.cli
+++ b/loader/options.cli
@@ -2,23 +2,25 @@
// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-include <string>;
-include <cstdint>;
+include <brep/types>;
-class options
+namespace brep
{
- bool --help {"Print usage information and exit."};
- bool --version {"Print version and exit."};
-
- std::string --db-host = "localhost"
+ class options
{
- "<host>",
- "Connect database server using specified host or socket directory."
- };
+ bool --help {"Print usage information and exit."};
+ bool --version {"Print version and exit."};
- std::uint16_t --db-port = 5432
- {
- "<port>",
- "Connect database server using specified port."
+ string --db-host = "localhost"
+ {
+ "<host>",
+ "Connect database server using specified host or socket directory."
+ };
+
+ uint16_t --db-port = 5432
+ {
+ "<port>",
+ "Connect database server using specified port."
+ };
};
-};
+}