Commit d03563d3 authored by Bas Zoetekouw's avatar Bas Zoetekouw

Add -c option that disables colour in output

CVS version numbers

check_desc_trans.pl: 1.8 -> 1.9
parent eba90c82
......@@ -44,6 +44,13 @@ use Local::Util 'uniq';
use strict;
use warnings;
# see if -c was specified
if ( $ARGV[0] eq '-c' )
{
shift @ARGV;
$ENV{'ANSI_COLORS_DISABLED'} = '1';
}
# Get language configuration
my $language;
if ( $ARGV[0] )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment