From 18c76602b5223d098a1d3026f74301a9b7ef6d5a Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sun, 20 Feb 2022 18:49:12 +1100 Subject: [PATCH] Add `platform` flag to docs --- website/docs/reference/cli.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/website/docs/reference/cli.mdx b/website/docs/reference/cli.mdx index 7bc4c61ad..c4c0e1175 100644 --- a/website/docs/reference/cli.mdx +++ b/website/docs/reference/cli.mdx @@ -54,6 +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 | | -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 | |