diff options
author | Jake Correnti <jcorrenti13@gmail.com> | 2022-07-13 21:41:16 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-07-26 13:27:55 -0400 |
commit | 53edd9b654d558ff769286ef948ab0f6a23c68cc (patch) | |
tree | e78e6b5633281f5f4a0293ce0c39cddf149f2219 /cmd/podman/images | |
parent | f07d2bac4bf09bedeace1e7ed939176e502b41ca (diff) | |
download | podman-53edd9b654d558ff769286ef948ab0f6a23c68cc.tar.gz podman-53edd9b654d558ff769286ef948ab0f6a23c68cc.tar.bz2 podman-53edd9b654d558ff769286ef948ab0f6a23c68cc.zip |
Podman pull --all-tags shorthand option
I added the shorthand option for `podman pull --all-tags`. Like Docker,
Podman can now do `podman pull -a`.
Signed-off-by: Jake Correnti <jcorrenti13@gmail.com>
Diffstat (limited to 'cmd/podman/images')
-rw-r--r-- | cmd/podman/images/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/images/pull.go b/cmd/podman/images/pull.go index 6e3ec1517..8211ceba5 100644 --- a/cmd/podman/images/pull.go +++ b/cmd/podman/images/pull.go @@ -77,7 +77,7 @@ func init() { func pullFlags(cmd *cobra.Command) { flags := cmd.Flags() - flags.BoolVar(&pullOptions.AllTags, "all-tags", false, "All tagged images in the repository will be pulled") + flags.BoolVarP(&pullOptions.AllTags, "all-tags", "a", false, "All tagged images in the repository will be pulled") credsFlagName := "creds" flags.StringVar(&pullOptions.CredentialsCLI, credsFlagName, "", "`Credentials` (USERNAME:PASSWORD) to use for authenticating to a registry") |