mirror of
https://github.com/containers/podman.git
synced 2025-06-24 03:08:13 +08:00
cli: podman image trust set --pubkeysfile use StringArray()
This option accepts a file path so we should allow commas in it. There ar eno tests for this option, I have no idea what this option does nor how to use it so I cannot write one. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -41,7 +41,7 @@ func init() {
|
|||||||
_ = setFlags.MarkHidden("policypath")
|
_ = setFlags.MarkHidden("policypath")
|
||||||
|
|
||||||
pubkeysfileFlagName := "pubkeysfile"
|
pubkeysfileFlagName := "pubkeysfile"
|
||||||
setFlags.StringSliceVarP(&setOptions.PubKeysFile, pubkeysfileFlagName, "f", []string{}, `Path of installed public key(s) to trust for TARGET.
|
setFlags.StringArrayVarP(&setOptions.PubKeysFile, pubkeysfileFlagName, "f", []string{}, `Path of installed public key(s) to trust for TARGET.
|
||||||
Absolute path to keys is added to policy.json. May
|
Absolute path to keys is added to policy.json. May
|
||||||
used multiple times to define multiple public keys.
|
used multiple times to define multiple public keys.
|
||||||
File(s) must exist before using this command`)
|
File(s) must exist before using this command`)
|
||||||
|
Reference in New Issue
Block a user