mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-06 14:07:50 +00:00
cli: podman run/create --label-file use StringArray()
This option accepts a file path so we should allow commas in it. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
parent
24d08a94d8
commit
19571f7509
1 changed files with 1 additions and 1 deletions
|
|
@ -772,7 +772,7 @@ func DefineCreateFlags(cmd *cobra.Command, cf *entities.ContainerCreateOptions,
|
|||
_ = cmd.RegisterFlagCompletionFunc(labelFlagName, completion.AutocompleteNone)
|
||||
|
||||
labelFileFlagName := "label-file"
|
||||
createFlags.StringSliceVar(
|
||||
createFlags.StringArrayVar(
|
||||
&cf.LabelFile,
|
||||
labelFileFlagName, []string{},
|
||||
"Read in a line delimited file of labels",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue