Docker login command no longer has -e none option

I have been using the AWS command line to get a docker login to a repository.
aws ecr get-login

This returns a encoded string for the password
docker login -u -p -e none
This worked up till today
but now returns
unknown shorthand flag: ‘e’ in -e
See ‘docker login --help’.

The -e flag has been deprecated, try removing -e none