lib/envoy/client/command.rb in envoy-proxy-0.0.10 vs lib/envoy/client/command.rb in envoy-proxy-0.0.11
- old
+ new
@@ -18,9 +18,12 @@
op.banner = "Usage: #{$0} [options] [[HOST:]PORT]"
op.on "--host HOST", "Allocate this domain label on the proxy" do |v|
options[:hosts] ||= []
options[:hosts] << v
end
+ op.on "-k", "--key KEY" do |v|
+ options[:key] = v
+ end
op.on "-t", "--[no-]tls", "Encrypt communications with the envoy server" do |v|
options[:tls] = v
end
op.on "-s", "--server SERVER", "Specify envoy/proxylocal server" do |v|
host, port = v.split(":")
\ No newline at end of file