flags.StringArrayVar(&options.platforms,"platform",platformsDefault,"Set target platform for build")
flags.StringArrayVar(&options.platforms,"platform",platformsDefault,"Set target platform for build")
flags.BoolVar(&options.exportPush,"push",false,"Shorthand for `--output=type=registry`")
flags.BoolVar(&options.exportPush,"push",false,`Shorthand for "--output=type=registry"`)
flags.BoolVarP(&options.quiet,"quiet","q",false,"Suppress the build output and print image ID on success")
flags.BoolVarP(&options.quiet,"quiet","q",false,"Suppress the build output and print image ID on success")
flags.StringArrayVar(&options.secrets,"secret",[]string{},"Secret file to expose to the build (format: `id=mysecret,src=/local/secret`)")
flags.StringArrayVar(&options.secrets,"secret",[]string{},`Secret file to expose to the build (format: "id=mysecret,src=/local/secret")`)
flags.Var(&options.shmSize,"shm-size","Size of `/dev/shm`")
flags.Var(&options.shmSize,"shm-size",`Size of "/dev/shm"`)
flags.StringArrayVar(&options.ssh,"ssh",[]string{},"SSH agent socket or keys to expose to the build (format: `default|<id>[=<socket>|<key>[,<key>]]`)")
flags.StringArrayVar(&options.ssh,"ssh",[]string{},`SSH agent socket or keys to expose to the build (format: "default|<id>[=<socket>|<key>[,<key>]]")`)
flags.StringArrayVarP(&options.tags,"tag","t",[]string{},"Name and optionally a tag (format: `name:tag`)")
flags.StringArrayVarP(&options.tags,"tag","t",[]string{},`Name and optionally a tag (format: "name:tag")`)
| [`--platform stringArray`](#platform) | Set target platform for build |
| [`--platform stringArray`](#platform) | Set target platform for build |
@ -39,7 +39,7 @@ Start a build
| [`--shm-size bytes`](#shm-size) | Size of `/dev/shm` |
| [`--shm-size bytes`](#shm-size) | Size of `/dev/shm` |
| `--ssh stringArray` | SSH agent socket or keys to expose to the build (format: `default\|<id>[=<socket>\|<key>[,<key>]]`) |
| `--ssh stringArray` | SSH agent socket or keys to expose to the build (format: `default\|<id>[=<socket>\|<key>[,<key>]]`) |
| [`-t`](https://docs.docker.com/engine/reference/commandline/build/#tag-an-image--t), [`--tag stringArray`](https://docs.docker.com/engine/reference/commandline/build/#tag-an-image--t) | Name and optionally a tag (format: `name:tag`) |
| [`-t`](https://docs.docker.com/engine/reference/commandline/build/#tag-an-image--t), [`--tag stringArray`](https://docs.docker.com/engine/reference/commandline/build/#tag-an-image--t) | Name and optionally a tag (format: `name:tag`) |
| [`--target string`](https://docs.docker.com/engine/reference/commandline/build/#specifying-target-build-stage---target) | Set the target build stage to build. |
| [`--target string`](https://docs.docker.com/engine/reference/commandline/build/#specifying-target-build-stage---target) | Set the target build stage to build |