lib/daemon_kit/arguments.rb in daemon-kit-0.1.7.9 vs lib/daemon_kit/arguments.rb in daemon-kit-0.1.7.10

- old
+ new

@@ -66,24 +66,28 @@ i = 0 while i < argv.size if argv[i] == "--config" argv.delete_at( i ) configs << argv.delete_at(i) + next end if argv[i] == "-e" || argv[i] == "--env" argv.delete_at( i ) configs << "environment=#{argv.delete_at(i)}" + next end if argv[i] == "-l" || argv[i] == "--log" argv.delete_at( i ) configs << "log_path=#{argv.delete_at(i)}" + next end if argv[i] == "--pid" argv.delete_at( i ) configs << "pid_file=#{argv.delete_at(i)}" + next end i += 1 end