diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-08-22 13:36:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-22 13:36:05 -0400 |
commit | e9fe85d53a37348b5c14f35655da7b0548f6fa61 (patch) | |
tree | 4a29a5acf17e581c2a7a9f2ac9d38ecf32c85904 /cmd/podman/secrets/create.go | |
parent | bbbed3d822017e74fd46688fc1f67f6a97bf204a (diff) | |
parent | f6e7b0b59d365f42cae70702f53f87d534d4c2f6 (diff) | |
download | podman-e9fe85d53a37348b5c14f35655da7b0548f6fa61.tar.gz podman-e9fe85d53a37348b5c14f35655da7b0548f6fa61.tar.bz2 podman-e9fe85d53a37348b5c14f35655da7b0548f6fa61.zip |
Merge pull request #15363 from rhatdan/secret
podman secret create -d alias --driver, inspect -f alias --format: Docker compatibity
Diffstat (limited to 'cmd/podman/secrets/create.go')
-rw-r--r-- | cmd/podman/secrets/create.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/secrets/create.go b/cmd/podman/secrets/create.go index 8ecfecf69..01775f563 100644 --- a/cmd/podman/secrets/create.go +++ b/cmd/podman/secrets/create.go @@ -46,7 +46,7 @@ func init() { cfg := registry.PodmanConfig() - flags.StringVar(&createOpts.Driver, driverFlagName, cfg.Secrets.Driver, "Specify secret driver") + flags.StringVarP(&createOpts.Driver, driverFlagName, "d", cfg.Secrets.Driver, "Specify secret driver") flags.StringToStringVar(&createOpts.DriverOpts, optsFlagName, cfg.Secrets.Opts, "Specify driver specific options") _ = createCmd.RegisterFlagCompletionFunc(driverFlagName, completion.AutocompleteNone) _ = createCmd.RegisterFlagCompletionFunc(optsFlagName, completion.AutocompleteNone) |