xavdid / reddit-user-to-sqlite

Pull Reddit user data into a SQLite database
https://pypi.org/project/reddit-user-to-sqlite/
MIT License
215 stars 9 forks source link

Cannot save usernames starting with dash "-" #6

Closed pgagnidze closed 1 year ago

pgagnidze commented 1 year ago

$ reddit-user-to-sqlite user -any-username-here fails with No such option

It thinks that we are passing an option when starting with dash

xavdid commented 1 year ago

Ah interesting.

Does it work if you do either:

pgagnidze commented 1 year ago

Just found it works fine with $ reddit-user-to-sqlite user -- -username

It is not an issue with this package specifically, but I recommend adding it in the FAQ or somewhere in README.

Thanks!

xavdid commented 1 year ago

I've added info about this to the FAQs.