mirror of
https://github.com/containers/podman.git
synced 2025-06-25 03:52:15 +08:00
Update cmd/podman/login.go
Co-authored-by: Ashley Cui <ashleycui16@gmail.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -53,7 +53,7 @@ func init() {
|
|||||||
// Podman flags.
|
// Podman flags.
|
||||||
secretFlagName := "secret"
|
secretFlagName := "secret"
|
||||||
flags.BoolVar(&loginOptions.tlsVerify, "tls-verify", false, "Require HTTPS and verify certificates when contacting registries")
|
flags.BoolVar(&loginOptions.tlsVerify, "tls-verify", false, "Require HTTPS and verify certificates when contacting registries")
|
||||||
flags.String(secretFlagName, "", "Retrieve passwd from secret file")
|
flags.String(secretFlagName, "", "Retrieve password from a podman secret")
|
||||||
_ = loginCommand.RegisterFlagCompletionFunc(secretFlagName, common.AutocompleteSecrets)
|
_ = loginCommand.RegisterFlagCompletionFunc(secretFlagName, common.AutocompleteSecrets)
|
||||||
|
|
||||||
loginOptions.Stdin = os.Stdin
|
loginOptions.Stdin = os.Stdin
|
||||||
|
Reference in New Issue
Block a user