mirror of
https://github.com/golang/go
synced 2024-11-19 21:54:40 -07:00
flag: failf documentation nit
"standard output" should have been "standard error". Sorry about that.. R=adg CC=golang-dev https://golang.org/cl/4240088
This commit is contained in:
parent
d2e011d518
commit
c55fb521cc
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user