bin/react in react-0.0.1 vs bin/react in react-0.0.2
- old
+ new
@@ -26,9 +26,10 @@
opts.banner = "Usage: react commands.yml [options]"
opts.on('-q', '--queue [QUEUE]', 'Specify queue which will be consumed') {|val| val and options[:queue] = val }
opts.on('-h', '--host [HOST]', 'Select redis host') {|val| val and options[:redis][:host] = val }
opts.on('-p', '--port [PORT]', Integer, 'Select redis port') {|val| val and options[:redis][:port] = val }
opts.on('-D', '--db [DATABASE]', 'Select redis database number') {|val| val and options[:redis][:db] = val }
+ opts.on('-P', '--password [PASSWORD]', 'Select redis database password') {|val| val and options[:redis][:password] = val }
opts.on('-d', '--daemon', 'Run in background') { options[:daemon] = true }
end.parse(ARGV)
React.start(options).join