X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/76235d2d75822152db0bce04ab263da3a669482b..e7ae5b6a82491c2ea81c032e3dc9cea4e77792fc:/scripts/rose_auto_create_model.pl diff --git a/scripts/rose_auto_create_model.pl b/scripts/rose_auto_create_model.pl index 2e746a6bd..3eed8de13 100755 --- a/scripts/rose_auto_create_model.pl +++ b/scripts/rose_auto_create_model.pl @@ -199,14 +199,13 @@ sub parse_args { help => sub { pod2usage(verbose => 99, sections => 'NAME|SYNOPSIS|OPTIONS') }, quiet => \ my $quiet, diff => \ my $diff, - 'color!' => \ my $color, ); $options->{client} = $client; $options->{all} = $all; $options->{nocommit} = $nocommit; $options->{quiet} = $quiet; - $options->{color} = defined $color ? $color : 1; + $options->{color} = -t STDOUT ? 1 : 0; if ($diff) { if (eval { require Text::Diff; 1 }) {