commit bb34742

chld  ·  2026-02-06 13:42:59 +0000 UTC
parent 7b86b75
color indication in die for extra seriousness
1 files changed,  +1, -1
+1, -1
1@@ -19,7 +19,7 @@ func Info(a string, b string) {
2 func Die(a string, b string, exit int) {
3 	fmt.Printf("\033[m\033[31m%s: \033[1mERROR:\033[m ",
4 		filepath.Base(os.Args[0]))
5-	fmt.Printf("%s: %s\n", a, b)
6+	fmt.Printf("%s: \033[1;33m%s\033[m\n", a, b)
7 	if exit != 0 {
8 		os.Exit(exit)
9 	}