summaryrefslogtreecommitdiff
path: root/cmd/podman/containers/runlabel.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-22 20:14:19 +0200
committerGitHub <noreply@github.com>2020-05-22 20:14:19 +0200
commit4bc819328b898f57fa7c40d7d5f8dc5583ef5eef (patch)
tree7e55e6dbe5037ca446cea38cf398bcf63e8ba4d5 /cmd/podman/containers/runlabel.go
parentc8d64264c924833440237bf766a05db0cea56a1c (diff)
parente41089244b300af2b3e51ac1e9501b4cfe42264e (diff)
downloadpodman-4bc819328b898f57fa7c40d7d5f8dc5583ef5eef.tar.gz
podman-4bc819328b898f57fa7c40d7d5f8dc5583ef5eef.tar.bz2
podman-4bc819328b898f57fa7c40d7d5f8dc5583ef5eef.zip
Merge pull request #6341 from rhatdan/build6
Attempt to turn on additional build tests
Diffstat (limited to 'cmd/podman/containers/runlabel.go')
-rw-r--r--cmd/podman/containers/runlabel.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/containers/runlabel.go b/cmd/podman/containers/runlabel.go
index 11fa362b8..8d1c48ad2 100644
--- a/cmd/podman/containers/runlabel.go
+++ b/cmd/podman/containers/runlabel.go
@@ -42,7 +42,7 @@ func init() {
Parent: containerCmd,
})
- flags := rmCommand.Flags()
+ flags := runlabelCommand.Flags()
flags.StringVar(&runlabelOptions.Authfile, "authfile", auth.GetDefaultAuthFile(), "Path of the authentication file. Use REGISTRY_AUTH_FILE environment variable to override")
flags.StringVar(&runlabelOptions.CertDir, "cert-dir", "", "`Pathname` of a directory containing TLS certificates and keys")
flags.StringVar(&runlabelOptions.Credentials, "creds", "", "`Credentials` (USERNAME:PASSWORD) to use for authenticating to a registry")
@@ -61,6 +61,7 @@ func init() {
_ = flags.MarkHidden("opt1")
_ = flags.MarkHidden("opt2")
_ = flags.MarkHidden("opt3")
+ _ = flags.MarkHidden("signature-policy")
if err := flags.MarkDeprecated("pull", "podman will pull if not found in local storage"); err != nil {
logrus.Error("unable to mark pull flag deprecated")