mrsarm / mongotail

Command line tool to log all MongoDB queries in a "tail"able way
https://pypi.org/project/mongotail/
GNU General Public License v3.0
192 stars 17 forks source link

Error parsing command line: Invalid database "portal," #36

Open rofrol opened 2 years ago

rofrol commented 2 years ago
docker run -it --rm mrsarm/mongotail 192.168.0.227/portal,
Error parsing command line: Invalid database "portal,"

I have databased named portal,.

mrsarm commented 2 years ago

Hi @rofrol , sorry the validations performed in the DB name don't allow you to use Mongotail, I didn't know that non alphanumerical except for some extra chars were allowed to be uses in a database name, so I'll fix the issue.

Can I ask you why you use such a name? (with the , char at the end).

mrsarm commented 2 years ago

(Note for the fix, here are the name restriccions: https://docs.mongodb.com/manual/reference/limits/#naming-restrictions).

rofrol commented 2 years ago

Hi @rofrol , sorry the validations performed in the DB name don't allow you to use Mongotail, I didn't know that non alphanumerical except for some extra chars were allowed to be uses in a database name, so I'll fix the issue.

Can I ask you why you use such a name? (with the , char at the end).

I just used coma by accident