aboutsummaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
Diffstat (limited to 'odb')
-rw-r--r--odb/context.cxx4
-rw-r--r--odb/options.cli2
2 files changed, 3 insertions, 3 deletions
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
{
"<schema>",
"Place database objects (tables, indexes, etc) into <schema>."