mirror of
https://github.com/containers/podman.git
synced 2025-06-26 04:37:14 +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(
|
||||
&cf.Pull,
|
||||
pullFlagName, cf.Pull,
|
||||
`Pull image policy`,
|
||||
`Pull image policy ("always"|"missing"|"never"|"newer")`,
|
||||
)
|
||||
_ = cmd.RegisterFlagCompletionFunc(pullFlagName, AutocompletePullOption)
|
||||
|
||||
|
Reference in New Issue
Block a user