diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-22 06:16:03 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-22 12:55:23 -0400 |
commit | 35567e706b5009ead40c0eaef7c5c1199cd8d448 (patch) | |
tree | b3b35b1b94a8521f1ac08c85cdd514172e4ea554 /cmd/podman/containers/runlabel.go | |
parent | c8d64264c924833440237bf766a05db0cea56a1c (diff) | |
download | podman-35567e706b5009ead40c0eaef7c5c1199cd8d448.tar.gz podman-35567e706b5009ead40c0eaef7c5c1199cd8d448.tar.bz2 podman-35567e706b5009ead40c0eaef7c5c1199cd8d448.zip |
Attempt to turn on additional build tests
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/containers/runlabel.go')
-rw-r--r-- | cmd/podman/containers/runlabel.go | 3 |
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") |