From 433c0b8749678ac115f129ac19f44f7ed7b2f267 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Wed, 6 Jun 2007 15:57:19 +0000 Subject: [PATCH] Fixed bug with 'explainonly' argument. --- mysqltuner.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index 8b690f1..ce484bb 100644 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -45,7 +45,7 @@ sub usage { " --nobad Remove negative/suggestion responses\n". " --noinfo Remove informational responses\n". " --notitle Remove section title headers\n". - " --withexplain Add verbose explanations\n". + " --withexplain Add verbose explanations\n". " --explainonly Provide only long text explanations, no bullets/titles\n". " --nocolor Don't print output in color\n". "\n"; @@ -69,6 +69,7 @@ if ($opt{explainonly} == 1) { $opt{noinfo} = 1; $opt{nobad} = 1; $opt{notitle} = 1; + $opt{withexplain} = 1; } sub goodprint {