diff --git a/src/spectator/config/cli_arguments_applicator.cr b/src/spectator/config/cli_arguments_applicator.cr index a775568..496fc1a 100644 --- a/src/spectator/config/cli_arguments_applicator.cr +++ b/src/spectator/config/cli_arguments_applicator.cr @@ -166,6 +166,7 @@ module Spectator json_option(parser, builder) tap_option(parser, builder) junit_option(parser, builder) + html_option(parser, builder) no_color_option(parser, builder) end @@ -219,7 +220,7 @@ module Spectator end # Adds the HTML output option to the parser. - private def junit_option(parser, builder) + private def html_option(parser, builder) parser.on("--html_output OUTPUT_DIR", "Generate HTML output") do |output_dir| Log.debug { "Setting output format to HTML (--html_output '#{output_dir}')" } formatter = Formatting::HTMLFormatter.new(output_dir)