lib/actir/parallel_tests/cli.rb in actir-1.4.3.2 vs lib/actir/parallel_tests/cli.rb in actir-1.4.3.3

- old
+ new

@@ -196,9 +196,10 @@ # opts.on("--serialize-stdout", "Serialize stdout output, nothing will be written until everything is done") { options[:serialize_stdout] = true } # opts.on("--combine-stderr", "Combine stderr into stdout, useful in conjunction with --serialize-stdout") { options[:combine_stderr] = true } # opts.on("--non-parallel", "execute same commands but do not in parallel, needs --exec") { options[:non_parallel] = true } # opts.on("--nice", "execute test commands with low priority") { options[:nice] = true } opts.on("-h", "--help", "Show this.") { puts opts; exit } + opts.on("-v", "--version", "Show version.") { puts Actir::VERSION; exit } end.parse!(argv) if options[:count] == 0 options.delete(:count) options[:non_parallel] = true