summaryrefslogtreecommitdiff
path: root/odb/validator.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-04-26 13:53:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-04-26 13:53:51 +0200
commit89120cf7addb304c1d1b029f1edae108e94ba023 (patch)
tree574007f6b3691b8ae8ce504eb2f1a6a019456787 /odb/validator.cxx
parent377bfe7de7fd4305ea1ecc4ab1a361fa989a80d7 (diff)
Make --changelog{,-in,-out,-dir} per-database
Diffstat (limited to 'odb/validator.cxx')
-rw-r--r--odb/validator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/validator.cxx b/odb/validator.cxx
index f33962b..efe9236 100644
--- a/odb/validator.cxx
+++ b/odb/validator.cxx
@@ -995,7 +995,7 @@ validate (options const& ops,
// Changelog options.
//
- if (ops.changelog_in_specified () != ops.changelog_out_specified ())
+ if (ops.changelog_in ().count (db) != ops.changelog_out ().count (db))
{
cerr << "error: both --changelog-in and --changelog-out must be " <<
"specified" << endl;