1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Use -P for pidfile flag

This commit is contained in:
jc00ke 2012-02-15 11:24:01 -08:00
parent 0f248f3412
commit d98617b873
2 changed files with 2 additions and 2 deletions

View file

@ -129,7 +129,7 @@ module Sidekiq
@options[:processor_count] = arg.to_i
end
o.on '-p', '--pidfile PATH', "path to use" do |arg|
o.on '-P', '--pidfile PATH', "path to use" do |arg|
@options[:pidfile] = arg
end
end

View file

@ -41,7 +41,7 @@ class TestCli < MiniTest::Unit::TestCase
@tmp_path = @tmp_file.path
@tmp_file.close!
File.unlink @tmp_path if File.exist? @tmp_path
@cli.parse(['sidekiq', '-p', @tmp_path, '-r', './test/fake_env.rb'])
@cli.parse(['sidekiq', '-P', @tmp_path, '-r', './test/fake_env.rb'])
end
after do