You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flags.StringVarP(&opts.input, "input", "i", "", "Read from tar archive file, instead of STDIN")
44
45
flags.BoolVarP(&opts.quiet, "quiet", "q", false, "Suppress the load output")
45
-
flags.StringVar(&opts.platform, "platform", "", `Load only the given platform variant. Formatted as "os[/arch[/variant]]" (e.g., "linux/amd64")`)
46
+
flags.StringSliceVar(&opts.platform, "platform", []string{}, `Load only the given platform(s). Formatted as a comma-separated list of "os[/arch[/variant]]" (e.g., "linux/amd64,linux/arm64/v8").`)
flags.StringVarP(&opts.output, "output", "o", "", "Write to a file, instead of STDOUT")
44
-
flags.StringVar(&opts.platform, "platform", "", `Save only the given platform variant. Formatted as "os[/arch[/variant]]" (e.g., "linux/amd64")`)
45
+
flags.StringSliceVar(&opts.platform, "platform", []string{}, `Save only the given platform(s). Formatted as a comma-separated list of "os[/arch[/variant]]" (e.g., "linux/amd64,linux/arm64/v8")`)
|[`-i`](#input), [`--input`](#input)|`string`|| Read from tar archive file, instead of STDIN|
15
+
|[`--platform`](#platform)|`stringSlice`|| Load only the given platform(s). Formatted as a comma-separated list of `os[/arch[/variant]]` (e.g., `linux/amd64,linux/arm64/v8`).|
16
+
|`-q`, `--quiet`|`bool`|| Suppress the load output|
|`-o`, `--output`|`string`|| Write to a file, instead of STDOUT|
15
+
|[`--platform`](#platform)|`stringSlice`|| Save only the given platform(s). Formatted as a comma-separated list of `os[/arch[/variant]]` (e.g., `linux/amd64,linux/arm64/v8`) |
|`-i`, `--input`|`string`|| Read from tar archive file, instead of STDIN|
15
+
|`--platform`|`stringSlice`|| Load only the given platform(s). Formatted as a comma-separated list of `os[/arch[/variant]]` (e.g., `linux/amd64,linux/arm64/v8`).|
16
+
|`-q`, `--quiet`|`bool`|| Suppress the load output|
0 commit comments