lib/teaspoon/command_line.rb in teaspoon-0.7.6 vs lib/teaspoon/command_line.rb in teaspoon-0.7.7

- old
+ new

@@ -100,9 +100,13 @@ " cobertura - cobertura-coverage.xml used by Hudson") do |reports| @options[:coverage] = true @options[:coverage_reports] = reports end + parser.on("-O", "--coverage-output-dir DIR", "Specify directory where coverage reports should be generated.") do |dir| + @options[:coverage_output_dir] = dir + end + parser.separator("\n **** Utility ****\n\n") parser.on("-v", "--version", "Display the version.") do puts Teaspoon::VERSION exit