lib/mosql/cli.rb in mosql-0.3.1 vs lib/mosql/cli.rb in mosql-0.3.2

- old
+ new

@@ -69,9 +69,13 @@ opts.on("--ignore-delete", "Ignore delete operations when tailing") do @options[:ignore_delete] = true end + opts.on("--only-db [dbname]", "Don't scan for mongo dbs, just use the one specified") do |dbname| + @options[:dbname] = dbname + end + opts.on("--tail-from [timestamp]", "Start tailing from the specified UNIX timestamp") do |ts| @options[:tail_from] = ts end opts.on("--service [service]", "Service name to use when storing tailing state") do |service|