From fe100599f2cc68e1cfd342dc74889c74f396436f Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Wed, 1 Oct 2025 20:07:47 +0200 Subject: [PATCH] Fix typo of 'bootstrapping' --- README.md | 2 +- bootstrap/bootstrap.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 943b9e4c..f78237aa 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 aff4fb49..68ed9cf6 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")