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:
Alan Donovan 2014-04-25 12:03:38 -04:00
parent 7d1d69032b
commit c288136f0c
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}