Merge pull request #143 from thaJeztah/remove-email-flag

Remove deprecated -e/--email flag from docker login
This commit is contained in:
Sebastiaan van Stijn 2017-06-02 08:56:07 +02:00 committed by GitHub
commit a0066a150b
1 changed files with 0 additions and 4 deletions

View File

@ -41,10 +41,6 @@ func NewLoginCommand(dockerCli command.Cli) *cobra.Command {
flags.StringVarP(&opts.user, "username", "u", "", "Username")
flags.StringVarP(&opts.password, "password", "p", "", "Password")
// Deprecated in 1.11: Should be removed in docker 17.06
flags.StringVarP(&opts.email, "email", "e", "", "Email")
flags.MarkDeprecated("email", "will be removed in 17.06.")
return cmd
}