From 691b0f1ec76329c5ef0796a310f66c30c879f317 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 27 Jan 2012 12:39:57 +0200 Subject: Rename --default-schema to --schema --- odb/context.cxx | 4 ++-- odb/options.cli | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'odb') diff --git a/odb/context.cxx b/odb/context.cxx index 48d42c7..928068d 100644 --- a/odb/context.cxx +++ b/odb/context.cxx @@ -597,9 +597,9 @@ schema (semantics::scope& s) const // If we are still not fully qualified, add the schema that was // specified on the command line. // - if (!r.fully_qualified () && options.default_schema_specified ()) + if (!r.fully_qualified () && options.schema_specified ()) { - qname n (options.default_schema ()); + qname n (options.schema ()); n.append (r); n.swap (r); } diff --git a/odb/options.cli b/odb/options.cli index 61cc92e..18bd232 100644 --- a/odb/options.cli +++ b/odb/options.cli @@ -143,7 +143,7 @@ class options profile." }; - qname --default-schema + qname --schema { "", "Place database objects (tables, indexes, etc) into ." -- cgit v1.1