summaryrefslogtreecommitdiff
path: root/odb/odb.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-13 11:28:21 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-13 14:43:20 +0300
commit4264df570c04a85ef4c36fdd0ff197cfe3bb557c (patch)
tree92f26f04c97eabaa9e6d24d3ff4f51b0b9c1aca4 /odb/odb.cxx
parent3ea7899eb449a5094ae6d7b7707bbde6f57c5dd7 (diff)
Use copyright extracted from LICENSE file for printing utility version
Diffstat (limited to 'odb/odb.cxx')
-rw-r--r--odb/odb.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/odb/odb.cxx b/odb/odb.cxx
index db81a3e..5381668 100644
--- a/odb/odb.cxx
+++ b/odb/odb.cxx
@@ -597,8 +597,11 @@ main (int argc, char* argv[])
if (ops.version ())
{
cout << "ODB object-relational mapping (ORM) compiler for C++ "
- ODB_COMPILER_VERSION_STR << endl
- << "Copyright (c) 2009-2019 Code Synthesis Tools CC" << endl;
+ ODB_COMPILER_VERSION_STR << endl;
+
+#ifdef ODB_BUILD2
+ cout << "Copyright (c) " << ODB_COPYRIGHT << "." << endl;
+#endif
cout << "This is free software; see the source for copying "
<< "conditions. There is NO\nwarranty; not even for "