Enable color by default when running on a terminal
This commit is contained in:
parent
3fd633b507
commit
b608da0fb1
1 changed files with 1 additions and 1 deletions
2
mysqltuner.pl
Normal file → Executable file
2
mysqltuner.pl
Normal file → Executable file
|
@ -68,7 +68,7 @@ my %opt = (
|
|||
"noinfo" => 0,
|
||||
"debug" => 0,
|
||||
"nocolor" => ( !-t STDOUT ),
|
||||
"color" => 0,
|
||||
"color" => ( -t STDOUT ),
|
||||
"forcemem" => 0,
|
||||
"forceswap" => 0,
|
||||
"host" => 0,
|
||||
|
|
Loading…
Reference in a new issue