From a91b713dcec4d17f76155f0cd6b26903c59b9c19 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Mon, 14 Sep 2026 22:31:12 +0200 Subject: plan 10: stderr messages cannot be split by quoted newlines; config paths escaped; krino new refuses control characters; independent terminal oracle --- cmd/krino/common.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd/krino/common.go') diff --git a/cmd/krino/common.go b/cmd/krino/common.go index a9c92f3..15c32f6 100644 --- a/cmd/krino/common.go +++ b/cmd/krino/common.go @@ -55,7 +55,8 @@ func mainFile(g *globals) string { // usageError reports a command-line mistake and returns exit status 2. func usageError(stderr io.Writer, msg string) int { - fmt.Fprintf(stderr, "krino: %s\nrun 'krino -h' for help\n", msg) + fmt.Fprintf(stderr, "krino: %s\n", msg) + fmt.Fprintln(stderr, "run 'krino -h' for help") return 2 } -- cgit v1.3