diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-03-18 08:48:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-10 18:46:43 +0200 |
commit | 1112388f458cbbac8a73ca840f7f62f6f517e9fa (patch) | |
tree | fca1d83380a250bcf1a0785277a1186bc0e2522b /odb/option-functions.cxx | |
parent | cf75fa3e2be8c1fa12905e391a61c1ec763a5331 (diff) |
Add --changelog-file-suffix and --changelog-suffix options
Diffstat (limited to 'odb/option-functions.cxx')
-rw-r--r-- | odb/option-functions.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/option-functions.cxx b/odb/option-functions.cxx index 5fe4b50..016b729 100644 --- a/odb/option-functions.cxx +++ b/odb/option-functions.cxx @@ -69,6 +69,7 @@ process_options (options& o) o.odb_file_suffix ().insert (make_pair (cm, string ("-odb"))); o.sql_file_suffix ().insert (make_pair (cm, string (""))); o.schema_file_suffix ().insert (make_pair (cm, string ("-schema"))); + o.changelog_file_suffix ().insert (make_pair (cm, string (""))); } if (o.multi_database () == multi_database::disabled) @@ -76,12 +77,14 @@ process_options (options& o) o.odb_file_suffix ().insert (make_pair (db, string ("-odb"))); o.sql_file_suffix ().insert (make_pair (db, string (""))); o.schema_file_suffix ().insert (make_pair (db, string ("-schema"))); + o.changelog_file_suffix ().insert (make_pair (db, string (""))); } else { o.odb_file_suffix ().insert (make_pair (db, "-odb-" + db.string ())); o.sql_file_suffix ().insert (make_pair (db, "-" + db.string ())); o.schema_file_suffix ().insert (make_pair (db, "-schema-" + db.string ())); + o.changelog_file_suffix ().insert (make_pair (db, "-" + db.string ())); } // Set default --default-database value. |