Cannot reset access log

When I try to delete the content of the access log with the command:

ee log reset mydomain.com --access

It doesn’t work. I’m getting this message:

ee: error: unrecognized arguments: mydomain.com

try

cd /var/log/nginx/

> mydomain.com.access.log