diff --git a/cli/command/registry/login.go b/cli/command/registry/login.go index aa508a6a8d..af79e967cc 100644 --- a/cli/command/registry/login.go +++ b/cli/command/registry/login.go @@ -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 }