Error parsing command line options

Hi guys,

I am trying to clone a database using mongodump and mongorestore, however, when specifying the connection string I constantly receive the following error:

I specify it the following way:

mongodump --uri = ‘mongodb+srv://:@cluster0.mv5da.mongodb.net/?retryWrites=true&w=majority’

If I use the same connection string to connect mongoshell it does work.

Can somebody help me out?

Try without extra spaces between the parameter name, the equal sign and the parameter value.