go.tools/cmd/eg: Use Print, not Printf, to print Help string.
Fixes golang/go#7861 LGTM=gri R=gri CC=golang-codereviews https://golang.org/cl/95770043
This commit is contained in:
parent
7d1d69032b
commit
c288136f0c
|
@ -42,7 +42,7 @@ func doMain() error {
|
|||
args := flag.Args()
|
||||
|
||||
if *helpFlag {
|
||||
fmt.Fprintf(os.Stderr, eg.Help)
|
||||
fmt.Fprint(os.Stderr, eg.Help)
|
||||
os.Exit(2)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue