diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-16 20:02:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-25 20:35:10 +0200 |
commit | 2700ed6a3e1092a064f28b07f8e2c4e5b9b830e7 (patch) | |
tree | a54ffc979dde42e609bc9877120fa010887c6b66 /loader/options.cli | |
parent | 48a3c47d34c2acc0a39e2db5acfd437dace499c1 (diff) |
Implement new URL path schema for the web interface
Diffstat (limited to 'loader/options.cli')
-rw-r--r-- | loader/options.cli | 32 |
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." + }; }; -}; +} |