diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-07-08 13:29:28 +0200 |
---|---|---|
committer | Valentin Rothberg <vrothberg@redhat.com> | 2022-07-08 17:11:08 +0200 |
commit | 6b9abe69dbe6b08ba817759685618fdb485721d5 (patch) | |
tree | 2eec8512659331a8bf1199ed9b9396a622d056c3 /cmd/podman/common/completion.go | |
parent | 6087fb2116aaeae995e8423872ffe637e8be128f (diff) | |
download | podman-6b9abe69dbe6b08ba817759685618fdb485721d5.tar.gz podman-6b9abe69dbe6b08ba817759685618fdb485721d5.tar.bz2 podman-6b9abe69dbe6b08ba817759685618fdb485721d5.zip |
improve pull-policy documentation
Make sure that the docs for pull policies is consistent with Buildah and
reflects the implementation.
Further improve the help messages and auto completions.
[NO NEW TESTS NEEDED]
Fixes: #14846
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'cmd/podman/common/completion.go')
-rw-r--r-- | cmd/podman/common/completion.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/common/completion.go b/cmd/podman/common/completion.go index ae30f2875..6e6c33f9b 100644 --- a/cmd/podman/common/completion.go +++ b/cmd/podman/common/completion.go @@ -966,7 +966,7 @@ func AutocompleteLogOpt(cmd *cobra.Command, args []string, toComplete string) ([ // AutocompletePullOption - Autocomplete pull options for create and run command. // -> "always", "missing", "never" func AutocompletePullOption(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { - pullOptions := []string{"always", "missing", "never"} + pullOptions := []string{"always", "missing", "never", "newer"} return pullOptions, cobra.ShellCompDirectiveNoFileComp } |