From 2f7293e25cdc5dc0362eaa22bf08118567c79db9 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sun, 20 Feb 2022 18:52:41 +1100 Subject: [PATCH] Add `platform` flag to docs --- website/docs/reference/cli.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/reference/cli.mdx b/website/docs/reference/cli.mdx index c4c0e1175..ff63488ae 100644 --- a/website/docs/reference/cli.mdx +++ b/website/docs/reference/cli.mdx @@ -54,7 +54,7 @@ A list of community maintained templates can be found [here](/docs/community/tem | Flag | Description | Default | | :------------------- | :-------------------------------------- | :------------------------- | -| -platform | Build for the given (comma delimited) platforms. Note, if you do not give the architecture, `runtime.GOARCH` is used. | runtime.GOOS/runtime.GOARCH | +| -platform | Build for the given (comma delimited) platforms eg. `windows/arm64`. Note, if you do not give the architecture, `runtime.GOARCH` is used. | runtime.GOOS/runtime.GOARCH | | -clean | Cleans the `build/bin` directory | | | -compiler "compiler"| Use a different go compiler to build, eg go1.15beta1 | go | | -ldflags "flags" | Additional ldflags to pass to the compiler | |