lib/envoy/client/option_parser.rb in envoy-proxy-0.1.1 vs lib/envoy/client/option_parser.rb in envoy-proxy-0.1.2
- old
+ new
@@ -33,9 +33,15 @@
options["server_port"] ||= port
end
op.on "-v", "--[no-]verbose", "Be noisy about what's happening" do |v|
options["verbose"] = v
end
+ op.on "--no-log", "Don't show HTTP log" do |v|
+ options["log"] = false
+ end
+ op.on "l", "--log FILE", "Write HTTP log to this file" do |v|
+ options["log"] = v
+ end
op.on "-h", "--help", "Show this message" do
puts op
exit
end
op.on "--version" do