diff options
Diffstat (limited to 'cmd/krino/main.go')
| -rw-r--r-- | cmd/krino/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/krino/main.go b/cmd/krino/main.go index a8fab2d..7a6a5f7 100644 --- a/cmd/krino/main.go +++ b/cmd/krino/main.go @@ -77,6 +77,9 @@ func main() { // run is main without the process exit, so tests can drive it. func run(args []string, stdout, stderr io.Writer) int { + // Errors and warnings quote file names and tool messages: all of stderr + // goes through display (spec ยง15.1). + stderr = safeWriter{stderr} g := &globals{} fs := flagSet("krino", g) fs.BoolVar(&g.yes, "y", false, "") |
