mirror of
https://github.com/containers/podman.git
synced 2025-06-27 13:38:49 +08:00
Merge pull request #16847 from vrothberg/fix-16845
create/pull --help: list pull policies
This commit is contained in:
@ -366,7 +366,7 @@ func DefineCreateFlags(cmd *cobra.Command, cf *entities.ContainerCreateOptions,
|
|||||||
createFlags.StringVar(
|
createFlags.StringVar(
|
||||||
&cf.Pull,
|
&cf.Pull,
|
||||||
pullFlagName, cf.Pull,
|
pullFlagName, cf.Pull,
|
||||||
`Pull image policy`,
|
`Pull image policy ("always"|"missing"|"never"|"newer")`,
|
||||||
)
|
)
|
||||||
_ = cmd.RegisterFlagCompletionFunc(pullFlagName, AutocompletePullOption)
|
_ = cmd.RegisterFlagCompletionFunc(pullFlagName, AutocompletePullOption)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user