aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-01 16:20:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-01 16:20:26 +0200
commitc419af44209a112861a40a67bac85f0a2464aa7a (patch)
tree869432fbf32d75459fe96f92b692f2699f27a972
parentfe69d94f3d2dcb37d69ac2d7a0f88ad5fce2ad5c (diff)
Add short option aliases for --generate-query and --generate-schema
-rw-r--r--NEWS2
-rw-r--r--odb/options.cli4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 0a005a1..0b75360 100644
--- a/NEWS
+++ b/NEWS
@@ -35,6 +35,8 @@ Version 1.2.0
This transparently deals with the MySQL server closing connections after
a certain period of inactivity.
+ * New option aliases: -q for --generate-query and -s for --generate-schema.
+
Version 1.1.0
* Support for storing containers in the database. For more information refer
diff --git a/odb/options.cli b/odb/options.cli
index bb21095..38e5ed6 100644
--- a/odb/options.cli
+++ b/odb/options.cli
@@ -52,13 +52,13 @@ class options
\cb{tracer}."
};
- bool --generate-query
+ bool --generate-query | -q
{
"Generate query support code. Without this support you can only
load objects via their ids."
};
- bool --generate-schema
+ bool --generate-schema | -s
{
"Generate the database schema. The database schema contains SQL
statements that create database tables necessary to store persistent