summaryrefslogtreecommitdiff
path: root/cmd/podman/secrets
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2021-02-10 10:41:51 +0100
committerPaul Holzinger <paul.holzinger@web.de>2021-02-10 10:41:51 +0100
commit1cc387bf780d47a65bc82519e449cfbead70a015 (patch)
treeb0d5906ad9c4c6c378e22f34f267be1e2ff04598 /cmd/podman/secrets
parent055e2dda3a1888d319d542abe8735e791e736451 (diff)
downloadpodman-1cc387bf780d47a65bc82519e449cfbead70a015.tar.gz
podman-1cc387bf780d47a65bc82519e449cfbead70a015.tar.bz2
podman-1cc387bf780d47a65bc82519e449cfbead70a015.zip
Add shell completion tests for secrets
Add the SECRET keyword to the shell completion test. Also update the use line for podman secret create to use `NAME` instead of `SECRET`. This matches the other commands such as network/volume create. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'cmd/podman/secrets')
-rw-r--r--cmd/podman/secrets/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/secrets/create.go b/cmd/podman/secrets/create.go
index e58ab57cd..ef5d703ca 100644
--- a/cmd/podman/secrets/create.go
+++ b/cmd/podman/secrets/create.go
@@ -16,7 +16,7 @@ import (
var (
createCmd = &cobra.Command{
- Use: "create [options] SECRET FILE|-",
+ Use: "create [options] NAME FILE|-",
Short: "Create a new secret",
Long: "Create a secret. Input can be a path to a file or \"-\" (read from stdin). Default driver is file (unencrypted).",
RunE: create,