bin/xcpretty in xcpretty-0.0.3 vs bin/xcpretty in xcpretty-0.0.4
- old
+ new
@@ -20,13 +20,17 @@
@printer = XCPretty::Printer::Simple.new
end
opts.on('-c', '--color', 'Use colorized output') do
@colorize = true
end
+ opts.on('--no-utf', 'Disable unicode characters in output') do
+ @unicode = false
+ end
opts.on_tail('-h', '--help', 'Show this message') { puts opts; exit }
opts.on_tail("-v", "--version", "Show version") { puts XCPretty::VERSION; exit }
opts.parse!
printer.colorize = @colorize
+ printer.use_unicode = @unicode || true
end
ARGF.each_line do |line|
printer.pretty_print(line)
end