diff --git a/cmd/templ/main.go b/cmd/templ/main.go index 9da4a3d2c..c265c24a8 100644 --- a/cmd/templ/main.go +++ b/cmd/templ/main.go @@ -149,7 +149,7 @@ Args: -stdout Prints to stdout instead of writing generated files to the filesystem. Only applicable when -f is used. - -sourceMapVisualisations + -source-map-visualisations Set to true to generate HTML files to visualise the templ code and its corresponding Go code. -include-version Set to false to skip inclusion of the templ version in the generated code. (default true) diff --git a/docs/docs/04-core-concepts/02-template-generation.md b/docs/docs/04-core-concepts/02-template-generation.md index b3f88f2f0..04139d2cc 100644 --- a/docs/docs/04-core-concepts/02-template-generation.md +++ b/docs/docs/04-core-concepts/02-template-generation.md @@ -40,7 +40,7 @@ Args: -stdout Prints to stdout instead of writing generated files to the filesystem. Only applicable when -f is used. - -sourceMapVisualisations + -source-map-visualisations Set to true to generate HTML files to visualise the templ code and its corresponding Go code. -include-version Set to false to skip inclusion of the templ version in the generated code. (default true) diff --git a/docs/docs/09-commands-and-tools/01-cli.md b/docs/docs/09-commands-and-tools/01-cli.md index f384161f1..71915b617 100644 --- a/docs/docs/09-commands-and-tools/01-cli.md +++ b/docs/docs/09-commands-and-tools/01-cli.md @@ -33,7 +33,7 @@ Args: Generates code for all files in path. (default .) -f Optionally generates code for a single file, e.g. -f header.templ - -sourceMapVisualisations + -source-map-visualisations Set to true to generate HTML files to visualise the templ code and its corresponding Go code. -include-version Set to false to skip inclusion of the templ version in the generated code. (default true)