Minor UI tweaks to problem package
parent
d37f21dfcb
commit
17ee8f568b
|
@ -66,8 +66,8 @@ var styles = map[string]style{
|
||||||
"log-entry": {Prefix: " "}, // Indent
|
"log-entry": {Prefix: " "}, // Indent
|
||||||
"crushed": {Prefix: "💔 "},
|
"crushed": {Prefix: "💔 "},
|
||||||
"url": {Prefix: "👉 "},
|
"url": {Prefix: "👉 "},
|
||||||
"documentation": {Prefix: "🗎 "},
|
"documentation": {Prefix: "📘 "},
|
||||||
"issues": {Prefix: "📚 "},
|
"issues": {Prefix: "⁉️ "},
|
||||||
"issue": {Prefix: " ▪ "}, // Indented bullet
|
"issue": {Prefix: " ▪ "}, // Indented bullet
|
||||||
|
|
||||||
// Specialized purpose styles
|
// Specialized purpose styles
|
||||||
|
|
|
@ -73,7 +73,7 @@ func WithProblem(msg string, p *problem.Problem) {
|
||||||
console.Fatal(msg)
|
console.Fatal(msg)
|
||||||
p.Display()
|
p.Display()
|
||||||
console.Err("\n")
|
console.Err("\n")
|
||||||
console.ErrStyle("sad", "If the advice does not help, please let us know: ")
|
console.ErrStyle("sad", "If the above advice does not help, please let us know: ")
|
||||||
console.ErrStyle("url", "https://github.com/kubernetes/minikube/issues/new")
|
console.ErrStyle("url", "https://github.com/kubernetes/minikube/issues/new")
|
||||||
os.Exit(Config)
|
os.Exit(Config)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue