mirror of
https://github.com/golang/go
synced 2024-11-18 12:04:57 -07:00
go.tools/cmd/oracle: output help messages to stderr for consistency
Fixes golang/go#6838. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/36820043
This commit is contained in:
parent
14cf5b0a28
commit
5d386107a0
@ -91,8 +91,8 @@ func init() {
|
||||
}
|
||||
|
||||
func printHelp() {
|
||||
fmt.Println(helpMessage)
|
||||
fmt.Println("Flags:")
|
||||
fmt.Fprintln(os.Stderr, helpMessage)
|
||||
fmt.Fprintln(os.Stderr, "Flags:")
|
||||
flag.PrintDefaults()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user