1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

Planned 1.13 deprecation: email from login

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard
2016-09-23 11:52:57 -07:00
parent 460a7e213c
commit 4088f3bcff

View File

@@ -35,14 +35,9 @@ func NewLoginCommand(dockerCli *command.DockerCli) *cobra.Command {
}
flags := cmd.Flags()
flags.StringVarP(&opts.user, "username", "u", "", "Username")
flags.StringVarP(&opts.password, "password", "p", "", "Password")
// Deprecated in 1.11: Should be removed in docker 1.14
flags.StringVarP(&opts.email, "email", "e", "", "Email")
flags.MarkDeprecated("email", "will be removed in 1.14.")
return cmd
}