diff options
Diffstat (limited to 'odb/validator.cxx')
-rw-r--r-- | odb/validator.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/odb/validator.cxx b/odb/validator.cxx index 77ad874..57cca4a 100644 --- a/odb/validator.cxx +++ b/odb/validator.cxx @@ -994,6 +994,15 @@ validate (options const& ops, valid = false; } + // Changelog options. + // + if (ops.changelog_in_specified () != ops.changelog_out_specified ()) + { + cerr << "error: both --changelog-in and --changelog-out must be " << + "specified" << endl; + valid = false; + } + if (!valid) throw failed (); |