Merge pull request #16847 from vrothberg/fix-16845

create/pull --help: list pull policies
This commit is contained in:
OpenShift Merge Robot 2022-12-15 09:57:05 -05:00 committed by GitHub
commit 5f19ba2b77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)