What shows as -host is actually not a double dash -- as it should be, this has been parsed as a database to connect to(and authenticate on). This is visible in the connecting to message %E2%80%93host

An autocorrect or some other helpful thing has likely updated the original and copy/paste to the terminal, this is the result.

Try typing this out in full instead.

mongo has been end of life since MongoDB 6.0 and replaced with mongosh