From a24a8da246f8778d98cee7ccc65cad7f91dc1389 Mon Sep 17 00:00:00 2001
From: chetan gupta <chetangupta123raj@gmail.com>
Date: Sat, 1 Apr 2023 21:00:40 +0530
Subject: [PATCH 1/2] updated README.md

Signed-off-by: chetan gupta <chetangupta123raj@gmail.com>
---
 README.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 4007263626..8584b24193 100644
--- a/README.md
+++ b/README.md
@@ -3,9 +3,9 @@
   <img alt="Text changing depending on mode. Light: 'So light!' Dark: 'So dark!'" src="./images/banner-black.png" width="600px;">
 </picture>
 
-`k8sgpt` is a tool for scanning your kubernetes clusters, diagnosing and triaging issues in simple english.
+`k8sgpt` is a tool for scanning your Kubernetes clusters, diagnosing, and triaging issues in simple English.
 
-It has SRE experience codified into it's analyzers and helps to pull out the most relevent information to enrich it with AI.
+It has SRE experience codified into its analyzers and helps to pull out the most relevant information to enrich it with AI.
 
 ## Installation
 
@@ -21,8 +21,8 @@ brew install k8sgpt
   When installing Homebrew on WSL or Linux, you may encounter the following error:
 
   ```
-  ==> Installing k8sgpt from k8sgpt-ai/k8sgpt Error: The following formula cannot be installed from bottle and must be 
-  built from source. k8sgpt Install Clang or run brew install gcc.
+  ==> Installing k8sgpt from k8sgpt-ai/k8sgpt Error: The following formula cannot be installed from a bottle and must be 
+  built from the source. k8sgpt Install Clang or run brew install gcc.
   ```
 
 If you install gcc as suggested, the problem will persist. Therefore, you need to install the build-essential package.

From e1d89920b097db4417c55b020fb23dd8cbaf19ed Mon Sep 17 00:00:00 2001
From: AlexsJones <alexsimonjones@gmail.com>
Date: Sat, 1 Apr 2023 16:18:40 +0100
Subject: [PATCH 2/2] chore: removes bar on normal analyze events

Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
---
 cmd/analyze/analyze.go | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/cmd/analyze/analyze.go b/cmd/analyze/analyze.go
index df2283baa8..33309b0232 100644
--- a/cmd/analyze/analyze.go
+++ b/cmd/analyze/analyze.go
@@ -83,16 +83,14 @@ var AnalyzeCmd = &cobra.Command{
 			os.Exit(1)
 		}
 
-		var bar *progressbar.ProgressBar
-		if len(*analysisResults) > 0 {
-			bar = progressbar.Default(int64(len(*analysisResults)))
-		} else {
+		if len(*analysisResults) == 0 {
 			color.Green("{ \"status\": \"OK\" }")
 			os.Exit(0)
 		}
-
-		// This variable is used to store the results that will be printed
-		// It's necessary because the heap memory is lost when the function returns
+		var bar = progressbar.Default(int64(len(*analysisResults)))
+		if !explain {
+			bar.Clear()
+		}
 		var printOutput []analyzer.Analysis
 
 		for _, analysis := range *analysisResults {