Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steve8291 patch 2 #808

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions mysqltuner.pl
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ package main;
"feature" => '',
"dbgpattern" => '',
"defaultarch" => 64,
"prettyicon" => 0,
"noprettyicon" => 0
);

Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down