From 8e046e3ea7e88f872205c2b65cb7f9b86aaabd93 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 26 Apr 2012 11:29:05 +0200 Subject: Make session optional --- odb/options.cli | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'odb/options.cli') 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 -- cgit v1.1