mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Add -V, --version
This commit is contained in:
parent
50c6f099c8
commit
5e1b46b77c
1 changed files with 5 additions and 0 deletions
|
@ -256,6 +256,11 @@ module Puma
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
o.on "-V", "--version", "Print the version information" do
|
||||||
|
puts "puma version #{Puma::Const::VERSION}"
|
||||||
|
exit 1
|
||||||
|
end
|
||||||
|
|
||||||
o.on "-w", "--workers COUNT",
|
o.on "-w", "--workers COUNT",
|
||||||
"Activate cluster mode: How many worker processes to create" do |arg|
|
"Activate cluster mode: How many worker processes to create" do |arg|
|
||||||
unsupported "-w not supported on JRuby and Windows",
|
unsupported "-w not supported on JRuby and Windows",
|
||||||
|
|
Loading…
Add table
Reference in a new issue