What is going wrong? What action would you like the Engineering team to take?
Please be sure to attach relevant logs with any sensitive data redacted.
The dash character is accepted as a valid password character in mongo shell, but not in mongosh. Password is a 1 character in length.
Steps to Reproduce
How could an engineer replicate the issue you’re reporting?
Create a username and password. Use a single character "-" as the password.
Create an Atlas cluster and log in using SRV.
This doesn't work
mongosh "mongodb+srv://specialchar.f9xmf9c.mongodb.net/test" --username u10 --password -
What do you expect to happen?
mongosh to behave as mongo shell
What do you observe is happening?
Parsing differences in connection options behavior
mongosh prints out the general help text.
Any additional information that may be useful to include.
May need to investigate if