diff --git a/mysqltuner.pl b/mysqltuner.pl index 6af4f5e3..2154b556 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -118,6 +118,7 @@ package main; "feature" => '', "dbgpattern" => '', "defaultarch" => 64, + "prettyicon" => 0, "noprettyicon" => 0 ); @@ -155,7 +156,8 @@ package main; 'defaults-extra-file=s', 'dumpdir=s', 'feature=s', 'dbgpattern=s', 'defaultarch=i', 'experimental', - 'nondedicated', 'noprettyicon' + 'nondedicated', 'prettyicon', + 'noprettyicon' ) or pod2usage( -exitval => 1, @@ -233,7 +235,7 @@ package main; $opt{cvefile} = 'vulnerabilities.csv'; #CVE File for vulnerability checks } -$opt{prettyicon}=0 if $opt{prettyicon}!=1; +$opt{prettyicon} = 0 if ( $opt{noprettyicon} == 1 ); $opt{nocolor} = 1 if defined( $opt{outputfile} ); $opt{tbstat} = 0 if ( $opt{notbstat} == 1 ); # Don't print table information $opt{colstat} = 0 if ( $opt{nocolstat} == 1 ); # Don't print column information @@ -7506,6 +7508,7 @@ =head1 OUTPUT OPTIONS --verbose Print out all options (default: no verbose, dbstat, idxstat, sysstat, tbstat, pfstat) --color Print output in color --nocolor Don't print output in color + --prettyicon Print output with new icons: ✔, ✘, ℹ, ⚙, ⌨️, ... --noprettyicon Print output with legacy tag [OK], [!!], [--], [CMD], ... --nogood Remove OK responses --nobad Remove negative/suggestion responses