mirror of https://github.com/docker/cli.git
Merge pull request #27953 from thaJeztah/fix-deprecation-version
Update deprecation versions for "email" and colon in "security options"
This commit is contained in:
commit
3a5d54290d
|
@ -39,9 +39,9 @@ func NewLoginCommand(dockerCli *command.DockerCli) *cobra.Command {
|
||||||
flags.StringVarP(&opts.user, "username", "u", "", "Username")
|
flags.StringVarP(&opts.user, "username", "u", "", "Username")
|
||||||
flags.StringVarP(&opts.password, "password", "p", "", "Password")
|
flags.StringVarP(&opts.password, "password", "p", "", "Password")
|
||||||
|
|
||||||
// Deprecated in 1.11: Should be removed in docker 1.13
|
// Deprecated in 1.11: Should be removed in docker 1.14
|
||||||
flags.StringVarP(&opts.email, "email", "e", "", "Email")
|
flags.StringVarP(&opts.email, "email", "e", "", "Email")
|
||||||
flags.MarkDeprecated("email", "will be removed in 1.13.")
|
flags.MarkDeprecated("email", "will be removed in 1.14.")
|
||||||
|
|
||||||
return cmd
|
return cmd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue