diff options
author | Jake Correnti <jcorrenti13@gmail.com> | 2022-07-13 21:41:16 -0400 |
---|---|---|
committer | Jake Correnti <jcorrenti13@gmail.com> | 2022-07-14 10:54:24 -0400 |
commit | 90607a6d04ad96d1821e8f50157d6e8aa600cdf5 (patch) | |
tree | a3d667ec843547b0beff9afdb230328102a3167f /cmd/podman/images/pull.go | |
parent | 5c3eec55895c9ca4c36571e1e919f0cb8632bedb (diff) | |
download | podman-90607a6d04ad96d1821e8f50157d6e8aa600cdf5.tar.gz podman-90607a6d04ad96d1821e8f50157d6e8aa600cdf5.tar.bz2 podman-90607a6d04ad96d1821e8f50157d6e8aa600cdf5.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/pull.go')
-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") |