mirror of
https://github.com/containers/podman.git
synced 2025-06-27 05:26:50 +08:00
create/pull --help: list pull policies
[NO NEW TESTS NEEDED] Fixes: #16845 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
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