Merge pull request #745 from FabioPedretti/master
Enable color by default when running on a terminal
This commit is contained in:
commit
56d16e168e
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,
|
"noinfo" => 0,
|
||||||
"debug" => 0,
|
"debug" => 0,
|
||||||
"nocolor" => ( !-t STDOUT ),
|
"nocolor" => ( !-t STDOUT ),
|
||||||
"color" => 0,
|
"color" => ( -t STDOUT ),
|
||||||
"forcemem" => 0,
|
"forcemem" => 0,
|
||||||
"forceswap" => 0,
|
"forceswap" => 0,
|
||||||
"host" => 0,
|
"host" => 0,
|
||||||
|
|
Loading…
Reference in a new issue