diff options
Diffstat (limited to 'odb/option-functions.cxx')
-rw-r--r-- | odb/option-functions.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
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 ()) |