bin/belated in belated-0.6.4 vs bin/belated in belated-0.6.5
- old
+ new
@@ -26,11 +26,19 @@
opts.on('-e=ENV', '--env=ENV', 'Environment, default development') do |env|
Belated.config.env = env
end
- opts.on('-c=CONNECT', '--connect=CONNECT', 'Start dRuby connection, default true') do |connect|
+ opts.on('-c=CONNECT', '--connect=CONNECT', 'Start dRuby connection, default true, use for testing only') do |connect|
Belated.config.connect = connect == 'true'
+ end
+
+ opts.on('-h=HOST', '--host=HOST', 'dRuby host') do |host|
+ Belated.config.host = host
+ end
+
+ opts.on('-p=PORT', '--port=PORT', 'dRuby port') do |port|
+ Belated.config.port = port
end
}.parse!
instance = Belated.instance
instance.start