chore: fix govet error on trailing newline

conversation in golang/go#18085, but basically a single trailing newline
is a govet error, but two are not.
This commit is contained in:
Will Norris
2022-04-20 13:41:07 -07:00
parent 758687b5e3
commit 8cfc1b5425

View File

@@ -46,6 +46,7 @@ The pattern argument can be provided multiple times, and may also refer
to single files.
Flags:
`
var (
@@ -63,7 +64,7 @@ var (
func init() {
flag.Usage = func() {
fmt.Fprintln(os.Stderr, helpText)
fmt.Fprint(os.Stderr, helpText)
flag.PrintDefaults()
}
flag.Var(&skipExtensionFlags, "skip", "[deprecated: see -ignore] file extensions to skip, for example: -skip rb -skip go")