mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Implement --no-color option
This commit is contained in:
parent
a7d8d35a06
commit
57271d5f4b
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ module Spectator
|
|||
parser.on("--json", "Generate JSON output") { builder.formatter = Formatting::JsonFormatter.new }
|
||||
parser.on("--junit_output OUTPUT_DIR", "Generate JUnit XML output") { |output_dir| builder.add_formatter(Formatting::JUnitFormatter.new(output_dir)) }
|
||||
parser.on("--tap", "Generate TAP output (Test Anything Protocol)") { builder.formatter = Formatting::TAPFormatter.new }
|
||||
parser.on("--no-color", "Disable colored output") { raise NotImplementedError.new("--no-color") }
|
||||
parser.on("--no-color", "Disable colored output") { Colorize.enabled = false }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue