lib/jstd-runner/cli.rb in jstd-runner-0.0.2 vs lib/jstd-runner/cli.rb in jstd-runner-0.0.3

- old
+ new

@@ -37,9 +37,13 @@ end op.on("-n", "--notify email1,email2,email3", Array) do |emails| runner.options[:emails] = emails end + + op.on("-r", "--restart hour:minute") do |hour_minute| + runner.options[:restart_at] = hour_minute + end }.parse!(args) end def runner @runner ||= Runner.new