lib/jstd-runner/cli.rb in jstd-runner-0.0.6 vs lib/jstd-runner/cli.rb in jstd-runner-0.0.7
- old
+ new
@@ -41,9 +41,17 @@
end
op.on("-r", "--restart hour:minute") do |hour_minute|
runner.options[:restart_at] = hour_minute
end
+
+ op.on('-t', '--traffic-log PATH') do |path|
+ runner.options[:traffic_log] = path
+ end
+
+ op.on('-j', '--jar PATH') do |path|
+ runner.options[:jar] = path
+ end
}.parse!(args)
end
def runner
@runner ||= Runner.new