Lines Matching refs:color
70 my $color = "auto";
184 if ($color) {
198 if ($color) {
289 $_ = "--color=$color";
325 'color=s' => \$color,
326 'no-color' => \$color, #keep old behaviors of -nocolor
327 'nocolor' => \$color, #keep old behaviors of -nocolor
361 if ($color =~ /^[01]$/) {
362 $color = !$color;
363 } elsif ($color =~ /^always$/i) {
364 $color = 1;
365 } elsif ($color =~ /^never$/i) {
366 $color = 0;
367 } elsif ($color =~ /^auto$/i) {
368 $color = (-t STDOUT);
370 die "$P: Invalid color mode: $color\n";
2338 if ($color) {
2349 $output .= BLUE if ($color);
2352 $output .= RESET if ($color);