diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-14 22:31:12 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-14 22:31:12 +0200 |
| commit | a91b713dcec4d17f76155f0cd6b26903c59b9c19 (patch) | |
| tree | 44b1354e152c71a978738ee6ec47164ccef10b81 /cmd/krino/new.go | |
| parent | c03a72f1d7b598c1fe8fd01bb1f5bbfbd0256313 (diff) | |
| download | krino-a91b713dcec4d17f76155f0cd6b26903c59b9c19.tar.gz krino-a91b713dcec4d17f76155f0cd6b26903c59b9c19.zip | |
plan 10: stderr messages cannot be split by quoted newlines; config paths escaped; krino new refuses control characters; independent terminal oracle
Diffstat (limited to 'cmd/krino/new.go')
| -rw-r--r-- | cmd/krino/new.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/krino/new.go b/cmd/krino/new.go index 37f2418..ced9dc2 100644 --- a/cmd/krino/new.go +++ b/cmd/krino/new.go @@ -30,7 +30,7 @@ func cmdNew(g *globals, args []string, stdout, stderr io.Writer) int { fmt.Fprintf(stderr, "krino: %v\n", err) return 2 } - fmt.Fprintf(stdout, "created %s and added %q to include\n", xdg.Abbrev(file), name) + fmt.Fprintf(stdout, "created %s and added %q to include\n", display(xdg.Abbrev(file)), name) fmt.Fprintf(stdout, "edit its rules, then check them with: krino check %s\n", name) return 0 } |
