Mongodb export --query results in error "...provide only one MongoDB connection string"

Check your syntax again.It should be double hypen before “-c”
Also check this link

Error parsing command line options: error parsing positional arguments: