lib/jstd-runner/cli.rb in jstd-runner-0.0.8 vs lib/jstd-runner/cli.rb in jstd-runner-0.0.9
- old
+ new
@@ -46,9 +46,13 @@
op.on('-t', '--traffic-log PATH') do |path|
runner.options[:traffic_log] = path
end
+ op.on('-w', '--whitelist ip1,ips2,ip3', Array) do |ips|
+ runner.options[:whitelist] = ips
+ end
+
op.on('-j', '--jar PATH') do |path|
runner.options[:jar] = path
end
}.parse!(args)
end