Commit c55fb521 authored by Robert Hencke's avatar Robert Hencke Committed by Andrew Gerrand

flag: failf documentation nit

"standard output" should have been "standard error".  Sorry about that..

R=adg
CC=golang-dev
https://golang.org/cl/4240088
parent d2e011d5
...@@ -260,7 +260,7 @@ var Usage = func() { ...@@ -260,7 +260,7 @@ var Usage = func() {
var panicOnError = false 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{}) { func failf(format string, a ...interface{}) {
fmt.Fprintf(os.Stderr, format, a...) fmt.Fprintf(os.Stderr, format, a...)
Usage() Usage()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment