Merge pull request #745 from FabioPedretti/master

Enable color by default when running on a terminal
This commit is contained in:
Jean-Marie Renouard 2024-01-17 18:35:27 +01:00 committed by GitHub
commit 56d16e168e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
mysqltuner.pl Normal file → Executable file
View 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,