From c1d2ec5bbd5969332f3278f39d2a7a8f0abc0493 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 25 Jan 2012 14:58:24 +0200 Subject: Rename --default-schema to --schema-name --- odb/options.cli | 10 +++++----- odb/relational/source.hxx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'odb') 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 = "" { "", - "Use 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 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; } -- cgit v1.1