diff options
author | Andrew Gerrand <adg@golang.org> | 2011-05-22 11:55:02 +1000 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2011-05-22 11:55:02 +1000 |
commit | 3975b9910ce64d1bb00031c7d137dcdae069cbc1 (patch) | |
tree | 121e86e242de6411076d41ffa20c698b331b9a75 | |
parent | 6dced6d992b30e50f562a8efec1b99986834b140 (diff) | |
download | go-git-3975b9910ce64d1bb00031c7d137dcdae069cbc1.tar.gz |
flag: fix build
R=r
CC=golang-dev
https://golang.org/cl/4543064
-rw-r--r-- | src/pkg/flag/flag.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/flag/flag.go b/src/pkg/flag/flag.go index ec254fd888..e5d2f94e9b 100644 --- a/src/pkg/flag/flag.go +++ b/src/pkg/flag/flag.go @@ -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 { |