From c55fb521cc5ef5e555431f5ac58c0185d190f743 Mon Sep 17 00:00:00 2001 From: Robert Hencke Date: Tue, 8 Mar 2011 18:02:07 +1100 Subject: [PATCH] flag: failf documentation nit "standard output" should have been "standard error". Sorry about that.. R=adg CC=golang-dev https://golang.org/cl/4240088 --- src/pkg/flag/flag.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/flag/flag.go b/src/pkg/flag/flag.go index ea6c82f619..0483425f0b 100644 --- a/src/pkg/flag/flag.go +++ b/src/pkg/flag/flag.go @@ -260,7 +260,7 @@ var Usage = func() { var panicOnError = false -// failf prints to standard output a formatted error and Usage, and then exits the program. +// failf prints to standard error a formatted error and Usage, and then exits the program. func failf(format string, a ...interface{}) { fmt.Fprintf(os.Stderr, format, a...) Usage()