diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-08-17 12:49:30 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-08-17 12:49:30 -0400 |
commit | f6e7b0b59d365f42cae70702f53f87d534d4c2f6 (patch) | |
tree | ccbe4ee717b3a2069cbc80d44a7a584aca56a332 /cmd/podman/secrets | |
parent | d50ff4f512856907982e1ebb92d60fc7980f730e (diff) | |
download | podman-f6e7b0b59d365f42cae70702f53f87d534d4c2f6.tar.gz podman-f6e7b0b59d365f42cae70702f53f87d534d4c2f6.tar.bz2 podman-f6e7b0b59d365f42cae70702f53f87d534d4c2f6.zip |
Add podman secret inspect -f alias for --format: Docker compatibility
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/secrets')
-rw-r--r-- | cmd/podman/secrets/inspect.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/secrets/inspect.go b/cmd/podman/secrets/inspect.go index 1fcc676b4..c99e555ba 100644 --- a/cmd/podman/secrets/inspect.go +++ b/cmd/podman/secrets/inspect.go @@ -34,7 +34,7 @@ func init() { }) flags := inspectCmd.Flags() formatFlagName := "format" - flags.StringVar(&format, formatFlagName, "", "Format volume output using Go template") + flags.StringVarP(&format, formatFlagName, "f", "", "Format volume output using Go template") _ = inspectCmd.RegisterFlagCompletionFunc(formatFlagName, common.AutocompleteFormat(&entities.SecretInfoReport{})) } |