aboutsummaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-01-25 14:58:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-25 14:58:24 +0200
commitc1d2ec5bbd5969332f3278f39d2a7a8f0abc0493 (patch)
treef28f45651288fd77960d722d8b5f87c32491dab0 /odb
parent94d00afa2896a0a418da029aee1e5354c49759dd (diff)
Rename --default-schema to --schema-name
Diffstat (limited to 'odb')
-rw-r--r--odb/options.cli10
-rw-r--r--odb/relational/source.hxx2
2 files changed, 6 insertions, 6 deletions
diff --git a/odb/options.cli b/odb/options.cli
index a8f6eeb..c92e4aa 100644
--- a/odb/options.cli
+++ b/odb/options.cli
@@ -84,13 +84,13 @@ class options
formats."
};
- std::string --default-schema = ""
+ std::string --schema-name = ""
{
"<name>",
- "Use <name> as the default database schema name. Schema names are
- primarily used for distinguishing between multiple embedded schemas in
- the schema catalog. If this option is not specified, the empty name,
- which corresponds to the default schema, is used."
+ "Use <name> as the database schema name. Schema names are primarily
+ used for distinguishing between multiple embedded schemas in the
+ schema catalog. If this option is not specified, the empty name,
+ which is the default schema name, is used."
};
std::string --default-pointer = "*"
diff --git a/odb/relational/source.hxx b/odb/relational/source.hxx
index 9860a30..d909f7b 100644
--- a/odb/relational/source.hxx
+++ b/odb/relational/source.hxx
@@ -3626,7 +3626,7 @@ namespace relational
os << "static const schema_catalog_entry" << endl
<< "schema_catalog_entry_" << flat_name (type) << "_ (" << endl
- << strlit (options.default_schema ()) << "," << endl
+ << strlit (options.schema_name ()) << "," << endl
<< "&" << traits << "::create_schema);"
<< endl;
}