bin/rapnd in rapnd-0.1.3 vs bin/rapnd in rapnd-0.1.4

- old
+ new

@@ -42,16 +42,21 @@ opts.on("--foreground", "Run in the foreground") do |fore| options[:foreground] = true end + opts.on("--dir=OPTIONAL", "Directory to start in") do |dir| + options[:dir] = dir + end + opts.on('--help', 'Show help') do |help| puts opts end end.parse! unless options[:foreground] Forever.run do + dir options[:dir] log "#{options[:queue]}.log" on_ready do Rapnd::Daemon.new(options).run! end \ No newline at end of file