aboutsummaryrefslogtreecommitdiff
path: root/brep/view.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-11 20:11:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-23 13:50:52 +0200
commit24903813d11813f8ff9ac906d23b21e6c33b981d (patch)
treeb4a7c1cc6dc4c2e7a1588573c86e2b20aa763a41 /brep/view.cxx
parenta7e766e1aa77fff846d8426658befd9a01fe2861 (diff)
Parse http request parameters using CLI
Diffstat (limited to 'brep/view.cxx')
-rw-r--r--brep/view.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/brep/view.cxx b/brep/view.cxx
index 2f3bd17..3098e93 100644
--- a/brep/view.cxx
+++ b/brep/view.cxx
@@ -26,9 +26,9 @@ namespace brep
void view::
init (cli::scanner& s)
{
- options_ = make_shared<view_options> (s,
- cli::unknown_mode::fail,
- cli::unknown_mode::fail);
+ options_ = make_shared<options::view> (s,
+ cli::unknown_mode::fail,
+ cli::unknown_mode::fail);
db_ = shared_database (options_->db_host (), options_->db_port ());
}