Commit d9c56c69 authored by Robson R S Peixoto's avatar Robson R S Peixoto Committed by Rémy Oudompheng
Browse files

nocolor implemented


Signed-off-by: Rémy Oudompheng's avatarRémy Oudompheng <remy@archlinux.org>
parent 37aa0496
......@@ -18,7 +18,7 @@ GetOptions( $opts,
'localsearch', #TODO
'location', #TODO ?
'mirror',
'nocolor', #TODO
'nocolor',
'help|h',
'version|v'
);
......@@ -50,6 +50,7 @@ my $skipupdate = $opts->{'skipupdate'} || 0;
my $forceupdate = $opts->{'forceupdate'} || 0;
my $location = $opts->{'location'} || $ROOT;
my $mirror = $opts->{'mirror'} || $CTANBASEURL;
$ENV{ANSI_COLORS_DISABLED} = 1 if $opts->{'nocolor'} eq 1;
my $localsearch = $opts->{'localsearch'} || 0;
my $TLARCHIVE="$mirror/archive";
......
Supports Markdown
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