diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-03-12 18:49:49 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-03-12 18:50:04 -0400 |
commit | 86b767b0f9a5aeac4708e48231d2010215b35e2b (patch) | |
tree | 0d9f69401731ac3cc670e6826e88a390558c9a06 /lib/sisu/v3dv/options.rb | |
parent | v3dv: documentation sisu_commands, rearranged & update with regard to excludes (diff) |
v3dv: sqlite3 discreet .sql.db file for each document (possibility added)
* in addition to existing possibility of a shared db in sqlite3 or postgresql
Diffstat (limited to 'lib/sisu/v3dv/options.rb')
-rw-r--r-- | lib/sisu/v3dv/options.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sisu/v3dv/options.rb b/lib/sisu/v3dv/options.rb index 44eb1020..11d03e1d 100644 --- a/lib/sisu/v3dv/options.rb +++ b/lib/sisu/v3dv/options.rb @@ -665,6 +665,12 @@ module SiSU_Commandline && (mod.inspect =~/"--createdb"|"--create"|"--recreate"|"--dropall"|"--recreate"|"--import"|"--update"|"--remove"/) \ ? { bool: true, set: :on } : { bool: false, set: :na } + act[:sqlite_discreet]=(cmd =~/d/ \ + || mod.inspect =~/"--sql"|"--sqlite"/) \ + && (mod.inspect =~/"--both"/ \ + || mod.inspect !~/"--createdb"|"--create"|"--recreate"|"--dropall"|"--recreate"|"--import"|"--update"|"--remove"/) \ + ? { bool: true, set: :on } + : { bool: false, set: :na } act[:harvest]=(mod.inspect =~/"--harvest"/) \ ? { bool: true, set: :on } : { bool: false, set: :na } |