From c0931400a1c5f02cf145c90fd7e34216836efd88 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 12 Sep 2012 14:28:03 +0200 Subject: Implement --output-name, --generate-schema-only, and --at-once options --- odb/option-functions.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'odb/option-functions.cxx') diff --git a/odb/option-functions.cxx b/odb/option-functions.cxx index 6d6f948..6b7442e 100644 --- a/odb/option-functions.cxx +++ b/odb/option-functions.cxx @@ -11,6 +11,12 @@ using namespace std; void process_options (options& o) { + // If --generate-schema-only was specified, then set --generate-schema + // as well. + // + if (o.generate_schema_only ()) + o.generate_schema (true); + // Set the default schema format depending on the database. // if (o.generate_schema () && o.schema_format ().empty ()) -- cgit v1.1