diff --git a/README.md b/README.md index 943b9e4..f78237a 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ Additional option notes: * `-build_tags` will add the specified build tags to generated Go sources. -* `-gen_build_flags` will execute the easyjson bootstapping code to launch the +* `-gen_build_flags` will execute the easyjson bootstrapping code to launch the actual generator command with provided flags. Multiple arguments should be separated by space e.g. `-gen_build_flags="-mod=mod -x"`. diff --git a/bootstrap/bootstrap.go b/bootstrap/bootstrap.go index aff4fb4..68ed9cf 100644 --- a/bootstrap/bootstrap.go +++ b/bootstrap/bootstrap.go @@ -94,7 +94,7 @@ func (g *Generator) writeMain() (path string, err error) { fmt.Fprintln(f, "// +build ignore") fmt.Fprintln(f) - fmt.Fprintln(f, "// TEMPORARY AUTOGENERATED FILE: easyjson bootstapping code to launch") + fmt.Fprintln(f, "// TEMPORARY AUTOGENERATED FILE: easyjson bootstrapping code to launch") fmt.Fprintln(f, "// the actual generator.") fmt.Fprintln(f) fmt.Fprintln(f, "package main")