Skip to content

Commit

Permalink
Remove --control
Browse files Browse the repository at this point in the history
  • Loading branch information
nateberkopec committed Feb 27, 2020
1 parent 43aa5bd commit 255e9a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions History.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* `GC.compact` is called before fork if available (#2093)
* Add `requests_count` to workers stats. (#2106)
* Changed #connected_port to #connected_ports (#2076)
* `--control` has been removed. Use `--control-url` (#1487)

* Bugfixes
* Windows update extconf.rb for use with ssp and varied Ruby/MSYS2 combinations (#2069)
Expand Down
5 changes: 0 additions & 5 deletions lib/puma/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,6 @@ def setup_options
configure_control_url(arg)
end

# alias --control-url for backwards-compatibility
o.on "--control URL", "DEPRECATED alias for --control-url" do |arg|
configure_control_url(arg)
end

o.on "--control-token TOKEN",
"The token to use as authentication for the control server" do |arg|
@control_options[:auth_token] = arg
Expand Down

0 comments on commit 255e9a9

Please sign in to comment.