bin/oculus in oculus-0.8.0 vs bin/oculus in oculus-0.9.0

- old
+ new

@@ -24,9 +24,13 @@ Oculus.connection_options[:password] = password end opts.on("-D", "--database DATABASE", "Database to use") do |db| Oculus.connection_options[:database] = db end + opts.on("-t", "--adapter ADAPTER", "Database adapter") do |adapter| + abort "oculus: unknown adapter '#{adapter}'" unless ['mysql', 'postgres', 'pg'].include?(adapter) + Oculus.connection_options[:adapter] = adapter + end opts.on("-d", "--data DIRECTORY", "Data cache path (default: tmp/data)") do |path| Oculus.cache_path = path end end