Commit 3975b991 authored by Andrew Gerrand's avatar Andrew Gerrand

flag: fix build

R=r
CC=golang-dev
https://golang.org/cl/4543064
parent 6dced6d9
......@@ -567,7 +567,7 @@ func Var(value Value, name string, usage string) {
// returns the error.
func (f *FlagSet) failf(format string, a ...interface{}) os.Error {
err := fmt.Errorf(format, a...)
fmt.Println(errc)
fmt.Fprintln(os.Stderr, err)
if f == commandLine {
Usage()
} else {
......
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