diff --git a/cmd/eg/eg.go b/cmd/eg/eg.go index 3a12d33d..6241a022 100644 --- a/cmd/eg/eg.go +++ b/cmd/eg/eg.go @@ -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) }