aboutsummaryrefslogtreecommitdiff
path: root/odb/options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-04-26 11:29:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-04-26 11:29:05 +0200
commit8e046e3ea7e88f872205c2b65cb7f9b86aaabd93 (patch)
treeaba1ae331454eb1e0cf9525faf8a084d3652bda0 /odb/options.cli
parent6c88333c2e0232aed9e0b3c9077306f09e36c65c (diff)
Make session optional
Diffstat (limited to 'odb/options.cli')
-rw-r--r--odb/options.cli11
1 files changed, 9 insertions, 2 deletions
diff --git a/odb/options.cli b/odb/options.cli
index 95a5d4c..d205039 100644
--- a/odb/options.cli
+++ b/odb/options.cli
@@ -54,8 +54,15 @@ class options
bool --generate-query | -q
{
- "Generate query support code. Without this support you cannot use
- views and can only load objects via their ids."
+ "Generate query support code. Without this support you cannot use views
+ and can only load objects via their ids."
+ };
+
+ bool --generate-session | -e
+ {
+ "Generate session support code. With this option session support will
+ be enabled by default for all the persistent classes except those for
+ which it was explicitly disabled using the \cb{db session} pragma."
};
bool --generate-schema | -s